not-lain commited on
Commit
143c351
1 Parent(s): 94ec186

debugging image method

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):