Fix launch
Browse files
app.py
CHANGED
|
@@ -405,11 +405,11 @@ if __name__ == "__main__":
|
|
| 405 |
|
| 406 |
# Launch with custom settings
|
| 407 |
demo.launch(
|
| 408 |
-
server_name="127.0.0.1", # Use localhost instead of 0.0.0.0
|
| 409 |
-
server_port=7892, # Use different port to avoid conflicts
|
| 410 |
-
share=False, # Set to True to create public link
|
| 411 |
-
debug=True, # Disable debug mode to reduce console errors
|
| 412 |
-
show_error=True, # Show detailed error messages
|
| 413 |
-
inbrowser=False, # Auto-open in browser
|
| 414 |
-
prevent_thread_lock=False # Ensure proper threading
|
| 415 |
)
|
|
|
|
| 405 |
|
| 406 |
# Launch with custom settings
|
| 407 |
demo.launch(
|
| 408 |
+
# server_name="127.0.0.1", # Use localhost instead of 0.0.0.0
|
| 409 |
+
# server_port=7892, # Use different port to avoid conflicts
|
| 410 |
+
# share=False, # Set to True to create public link
|
| 411 |
+
# debug=True, # Disable debug mode to reduce console errors
|
| 412 |
+
# show_error=True, # Show detailed error messages
|
| 413 |
+
# inbrowser=False, # Auto-open in browser
|
| 414 |
+
# prevent_thread_lock=False # Ensure proper threading
|
| 415 |
)
|