Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks() as demo:
|
|
114 |
return gr.update(value="", interactive=False), history + [[user_message, None]]
|
115 |
|
116 |
def bot(history):
|
117 |
-
bot_message =
|
118 |
history[-1][1] = ""
|
119 |
for character in bot_message:
|
120 |
history[-1][1] += character
|
|
|
114 |
return gr.update(value="", interactive=False), history + [[user_message, None]]
|
115 |
|
116 |
def bot(history):
|
117 |
+
bot_message = gen(history)
|
118 |
history[-1][1] = ""
|
119 |
for character in bot_message:
|
120 |
history[-1][1] += character
|