artificialguybr
commited on
Commit
•
21ac753
1
Parent(s):
b8a520c
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def _launch_demo(args, model, tokenizer, config):
|
|
119 |
empty_btn.click(reset_state, [chatbot, task_history], outputs=[chatbot], show_progress=True)
|
120 |
regen_btn.click(regenerate, [chatbot, task_history], [chatbot], show_progress=True, queue=True) # Enable queue
|
121 |
demo.queue(max_size=20)
|
122 |
-
demo.launch(
|
123 |
|
124 |
|
125 |
# Main execution
|
|
|
119 |
empty_btn.click(reset_state, [chatbot, task_history], outputs=[chatbot], show_progress=True)
|
120 |
regen_btn.click(regenerate, [chatbot, task_history], [chatbot], show_progress=True, queue=True) # Enable queue
|
121 |
demo.queue(max_size=20)
|
122 |
+
demo.launch()
|
123 |
|
124 |
|
125 |
# Main execution
|