Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def classify(Textbox, Image, Textbox2, Textbox3):
|
|
86 |
"Authorization": f"Bearer {auth}"
|
87 |
}
|
88 |
|
89 |
-
response = requests.post(
|
90 |
"messages":messages,
|
91 |
"model":model_llm
|
92 |
}).json()
|
|
|
86 |
"Authorization": f"Bearer {auth}"
|
87 |
}
|
88 |
|
89 |
+
response = requests.post(host, headers=headers, json={
|
90 |
"messages":messages,
|
91 |
"model":model_llm
|
92 |
}).json()
|