Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def add_message(history, message, audio_input):
|
|
55 |
{"role": "user", "content": "Image attached"})
|
56 |
|
57 |
|
58 |
-
response = client.post("/input-handler/", json={"text": message["text"], "files": message["files"], "history": history_openai_format}
|
59 |
|
60 |
if response.status_code == 200:
|
61 |
bot_response = response.json().get("generative response")
|
|
|
55 |
{"role": "user", "content": "Image attached"})
|
56 |
|
57 |
|
58 |
+
response = client.post("/input-handler/", json={"text": message["text"], "files": message["files"], "history": history_openai_format})
|
59 |
|
60 |
if response.status_code == 200:
|
61 |
bot_response = response.json().get("generative response")
|