Spaces:
Sleeping
Sleeping
Add settings for launch
Browse files
app.py
CHANGED
|
@@ -68,4 +68,10 @@ if __name__ == "__main__":
|
|
| 68 |
app = create_combined_app()
|
| 69 |
|
| 70 |
# Launch with appropriate settings for Hugging Face Spaces
|
| 71 |
-
app.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
app = create_combined_app()
|
| 69 |
|
| 70 |
# Launch with appropriate settings for Hugging Face Spaces
|
| 71 |
+
app.launch(
|
| 72 |
+
server_name="0.0.0.0", # Required for HF Spaces
|
| 73 |
+
server_port=7860, # Default HF Spaces port
|
| 74 |
+
share=False, # Don't need share link on HF Spaces
|
| 75 |
+
show_error=True,
|
| 76 |
+
debug=False
|
| 77 |
+
)
|