Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def chat(user_text):
|
|
| 34 |
return bot_text
|
| 35 |
except Exception as e:
|
| 36 |
messages.pop()
|
| 37 |
-
return f"Error: {e}"
|
| 38 |
|
| 39 |
demo = gr.Interface(
|
| 40 |
fn=chat,
|
|
|
|
| 34 |
return bot_text
|
| 35 |
except Exception as e:
|
| 36 |
messages.pop()
|
| 37 |
+
return f"Error: {str(e)}"
|
| 38 |
|
| 39 |
demo = gr.Interface(
|
| 40 |
fn=chat,
|