measmonysuon commited on
Commit
747f0a1
·
verified ·
1 Parent(s): 41919f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -89,6 +89,9 @@ iface = gr.Interface(
89
  live=True
90
  )
91
 
 
 
 
92
  if __name__ == "__main__":
93
  # Run Gradio in a separate thread
94
  gradio_thread = threading.Thread(target=run_gradio)
 
89
  live=True
90
  )
91
 
92
+ def run_gradio():
93
+ iface.launch(share=True, inbrowser=False)
94
+
95
  if __name__ == "__main__":
96
  # Run Gradio in a separate thread
97
  gradio_thread = threading.Thread(target=run_gradio)