Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -400,7 +400,7 @@ def create_interface():
|
|
| 400 |
return demo
|
| 401 |
|
| 402 |
# Initialize everything
|
| 403 |
-
if
|
| 404 |
# Initialize model and class names first
|
| 405 |
initialize_model()
|
| 406 |
|
|
|
|
| 400 |
return demo
|
| 401 |
|
| 402 |
# Initialize everything
|
| 403 |
+
if __name__ == "__main__":
|
| 404 |
# Initialize model and class names first
|
| 405 |
initialize_model()
|
| 406 |
|