Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,14 +544,10 @@ def main():
|
|
| 544 |
# Create and launch interface
|
| 545 |
interface = create_interface()
|
| 546 |
|
| 547 |
-
# Launch with proper configuration
|
| 548 |
interface.launch(
|
| 549 |
-
server_name="0.0.0.0",
|
| 550 |
-
server_port=8000,
|
| 551 |
-
show_error=True,
|
| 552 |
share=False,
|
| 553 |
-
|
| 554 |
-
debug=True
|
| 555 |
)
|
| 556 |
|
| 557 |
if __name__ == "__main__":
|
|
|
|
| 544 |
# Create and launch interface
|
| 545 |
interface = create_interface()
|
| 546 |
|
| 547 |
+
# Launch with proper configuration for Hugging Face
|
| 548 |
interface.launch(
|
|
|
|
|
|
|
|
|
|
| 549 |
share=False,
|
| 550 |
+
debug=False # Set to False for production
|
|
|
|
| 551 |
)
|
| 552 |
|
| 553 |
if __name__ == "__main__":
|