Spaces:
Paused
Paused
Update app.py
Browse files
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",
|
| 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"]
|