Spaces:
Runtime error
Runtime error
debugging image method
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def process_image_with_openai(image):
|
|
118 |
|
119 |
response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
|
120 |
|
121 |
-
return response.json()
|
122 |
|
123 |
|
124 |
def query_vectara(text):
|
|
|
118 |
|
119 |
response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
|
120 |
|
121 |
+
return str(response.json())
|
122 |
|
123 |
|
124 |
def query_vectara(text):
|