Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def bot(chat_msg, history=None, audio_response=False):
|
|
54 |
return "", messages, ""
|
55 |
except Exception as e:
|
56 |
bot_message = f"Fehler: {e}"
|
57 |
-
messages.append({"role": "assistant", content
|
58 |
return "", messages, ""
|
59 |
|
60 |
with gr.Blocks() as demo:
|
|
|
54 |
return "", messages, ""
|
55 |
except Exception as e:
|
56 |
bot_message = f"Fehler: {e}"
|
57 |
+
messages.append({"role": "assistant", "content": bot_message})
|
58 |
return "", messages, ""
|
59 |
|
60 |
with gr.Blocks() as demo:
|