Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,8 @@ console.log(chatbot)
|
|
| 92 |
"""
|
| 93 |
chatbot = gr.Chatbot()
|
| 94 |
demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
|
| 95 |
-
|
|
|
|
| 96 |
|
| 97 |
if __name__ == "__main__":
|
| 98 |
init()
|
|
|
|
| 92 |
"""
|
| 93 |
chatbot = gr.Chatbot()
|
| 94 |
demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
|
| 95 |
+
with demo as chat
|
| 96 |
+
chatbot.change(None,[chatbot],[],js=js)
|
| 97 |
|
| 98 |
if __name__ == "__main__":
|
| 99 |
init()
|