Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -1108,7 +1108,8 @@ if __name__ == "__main__":
|
|
| 1108 |
share=False, # Set to True if you want to create a public link
|
| 1109 |
server_name="0.0.0.0", # Allow connections from any IP
|
| 1110 |
server_port=7860, # Default Gradio port
|
| 1111 |
-
show_error=True
|
|
|
|
| 1112 |
)
|
| 1113 |
|
| 1114 |
except Exception as e:
|
|
|
|
| 1108 |
share=False, # Set to True if you want to create a public link
|
| 1109 |
server_name="0.0.0.0", # Allow connections from any IP
|
| 1110 |
server_port=7860, # Default Gradio port
|
| 1111 |
+
show_error=True, # Show errors in the interface
|
| 1112 |
+
ssr_mode=False # Disable experimental SSR (prevents 405 error)
|
| 1113 |
)
|
| 1114 |
|
| 1115 |
except Exception as e:
|