rwitz commited on
Commit
2115b8f
·
1 Parent(s): 66afc6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,5 +112,5 @@ with gr.Blocks() as demo:
112
  upvote_btn.click(vote_up_model, [state, chatbot], [chatbot])
113
  downvote_btn.click(vote_down_model, [state, chatbot], [chatbot])
114
  clear_btn.click(lambda _: chatbot.clear(), inputs=[], outputs=[chatbot])
115
-
116
- demo.launch(share=True, enable_queue=True, server_name='0.0.0.0', server_port=7860)
 
112
  upvote_btn.click(vote_up_model, [state, chatbot], [chatbot])
113
  downvote_btn.click(vote_down_model, [state, chatbot], [chatbot])
114
  clear_btn.click(lambda _: chatbot.clear(), inputs=[], outputs=[chatbot])
115
+ demo.enable_queue()
116
+ demo.launch(share=True, server_name='0.0.0.0', server_port=7860)