Spaces:
Build error
Build error
Update app.py
Browse files
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)
|