Spaces:
Runtime error
Runtime error
Commit
·
588fda0
1
Parent(s):
31bd0a0
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def launch_app(pipe, streamer):
|
|
| 42 |
clear = gr.Button("Clear")
|
| 43 |
|
| 44 |
def user(user_message, history):
|
| 45 |
-
return "", history + [[user_message,
|
| 46 |
|
| 47 |
def bot(history):
|
| 48 |
prompt = chat_history(history)
|
|
|
|
| 42 |
clear = gr.Button("Clear")
|
| 43 |
|
| 44 |
def user(user_message, history):
|
| 45 |
+
return "", history + [[user_message, None]]
|
| 46 |
|
| 47 |
def bot(history):
|
| 48 |
prompt = chat_history(history)
|