Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -542,6 +542,5 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
|
|
| 542 |
# ------------------------------------------------------
|
| 543 |
# πΉ STEP 7: Launch for Hugging Face Spaces
|
| 544 |
# ------------------------------------------------------
|
| 545 |
-
|
| 546 |
-
demo.
|
| 547 |
-
demo.launch()
|
|
|
|
| 542 |
# ------------------------------------------------------
|
| 543 |
# πΉ STEP 7: Launch for Hugging Face Spaces
|
| 544 |
# ------------------------------------------------------
|
| 545 |
+
if __name__ == "__main__":
|
| 546 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)
|
|
|