Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -854,6 +854,8 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
854 |
'Content-Type': 'application/json'
|
855 |
}
|
856 |
|
|
|
|
|
857 |
response = requests.request("POST", "https://api.ohmygpt.com/v1/chat/completions", headers=headers, data=payload)
|
858 |
print("GGGGG:",response.content)
|
859 |
response = response.json()
|
|
|
854 |
'Content-Type': 'application/json'
|
855 |
}
|
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()
|