HaywhyCoder commited on
Commit
62743c2
·
verified ·
1 Parent(s): 2d2fda6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -104,5 +104,6 @@ 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
- app.queue()
108
- app.launch(sharing=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
+ if __name__ == "__main__"
108
+ app.queue()
109
+ app.launch(sharing=True)