HaywhyCoder commited on
Commit
7ebbccf
·
verified ·
1 Parent(s): 808a8b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -104,6 +104,5 @@ with gr.Blocks() as app:
104
  bot_msg = chat_msg.then(chat_bot, chatbot, chatbot)
105
  bot_msg.then(lambda: gr.MultimodalTextbox(interactive=True), None, text_box)
106
 
107
-
108
- if __name__ == "__main__":
109
- app.launch(share=True)
 
104
  bot_msg = chat_msg.then(chat_bot, chatbot, chatbot)
105
  bot_msg.then(lambda: gr.MultimodalTextbox(interactive=True), None, text_box)
106
 
107
+ app.queue()
108
+ app.launch()