Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,11 +66,6 @@ demo = gr.Interface(
|
|
| 66 |
|
| 67 |
# Launch the app
|
| 68 |
if __name__ == "__main__":
|
| 69 |
-
demo.launch(
|
| 70 |
else:
|
| 71 |
-
demo.launch(
|
| 72 |
-
share=True, # This enables the public URL
|
| 73 |
-
show_error=True,
|
| 74 |
-
server_name="0.0.0.0", # Allows external connections
|
| 75 |
-
server_port=7860 # Default Gradio port
|
| 76 |
-
)
|
|
|
|
| 66 |
|
| 67 |
# Launch the app
|
| 68 |
if __name__ == "__main__":
|
| 69 |
+
demo.launch()
|
| 70 |
else:
|
| 71 |
+
demo.launch(show_error=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|