tommy24 commited on
Commit
ab3dd1f
·
1 Parent(s): f42d8db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -856,7 +856,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
856
 
857
  print("IMAGGGGEEE;",Images)
858
 
859
- response = requests.request("POST", host, headers=headers, data=payload)
860
  print("GGGGG:",response.content)
861
  response = response.json()
862
  res = response["choices"][0]["message"]["content"]
 
856
 
857
  print("IMAGGGGEEE;",Images)
858
 
859
+ response = requests.request("POST", "https://api.ohmygpt.com/v1/chat/completions", headers=headers, data=payload)
860
  print("GGGGG:",response.content)
861
  response = response.json()
862
  res = response["choices"][0]["message"]["content"]