Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,5 +111,6 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="blue")
|
|
| 111 |
)
|
| 112 |
|
| 113 |
# --- Launch the App ---
|
| 114 |
-
if __name__ == "__main__":
|
| 115 |
-
|
|
|
|
|
|
| 111 |
)
|
| 112 |
|
| 113 |
# --- Launch the App ---
|
| 114 |
+
# REMOVED: The 'if __name__ == "__main__":' block.
|
| 115 |
+
# Hugging Face will run this file as a module and needs to find the 'app' object.
|
| 116 |
+
app.launch(debug=True)
|