thanhcong2001 commited on
Commit
f572edc
·
verified ·
1 Parent(s): d464b17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -108,4 +108,6 @@ with gr.Blocks() as demo:
108
  btn.click(fn=gradio_find, inputs=img_input, outputs=[gallery, info_box])
109
 
110
  gr.close_all()
111
- demo.launch(share=True, inbrowser=True, prevent_thread_lock=True)
 
 
 
108
  btn.click(fn=gradio_find, inputs=img_input, outputs=[gallery, info_box])
109
 
110
  gr.close_all()
111
+ demo.launch(share=True, inbrowser=True, prevent_thread_lock=True)
112
+ if __name__ == "__main__":
113
+ demo.launch()