Spaces:
Runtime error
Runtime error
Commit ·
540249f
1
Parent(s): c0cbfd7
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 54 |
response = btn.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 55 |
bot, chatbot, chatbot
|
| 56 |
)
|
| 57 |
-
|
| 58 |
|
| 59 |
demo.queue()
|
| 60 |
demo.launch()
|
|
|
|
| 54 |
response = btn.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 55 |
bot, chatbot, chatbot
|
| 56 |
)
|
| 57 |
+
response.then(lambda: gr.update(interactive=True), None, [msg], queue=False)
|
| 58 |
|
| 59 |
demo.queue()
|
| 60 |
demo.launch()
|