Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ with gr.Blocks(css="""
|
|
| 123 |
|
| 124 |
def submit_msg(message, history):
|
| 125 |
if not message.strip():
|
| 126 |
-
return "", history
|
| 127 |
|
| 128 |
if not isinstance(history, list):
|
| 129 |
history = []
|
|
|
|
| 123 |
|
| 124 |
def submit_msg(message, history):
|
| 125 |
if not message.strip():
|
| 126 |
+
return chat_with_bot("", history)
|
| 127 |
|
| 128 |
if not isinstance(history, list):
|
| 129 |
history = []
|