radames commited on
Commit
2666aeb
·
1 Parent(s): 095b3d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  with gr.Blocks() as demo:
2
  chatbot = gr.Chatbot()
3
  msg = gr.Textbox()
@@ -17,5 +19,4 @@ with gr.Blocks() as demo:
17
  )
18
  clear.click(lambda: None, None, chatbot, queue=False)
19
 
20
- if __name__ == "__main__":
21
- demo.launch()
 
1
+ import gradio as gr
2
+
3
  with gr.Blocks() as demo:
4
  chatbot = gr.Chatbot()
5
  msg = gr.Textbox()
 
19
  )
20
  clear.click(lambda: None, None, chatbot, queue=False)
21
 
22
+ demo.launch()