Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -461,6 +461,6 @@ def index():
|
|
| 461 |
"status": "healthy",
|
| 462 |
"message": f"Multi-architecture API Router up and running. Target: {'Diffusion Framework' if IS_DIFFUSION else 'Causal Baseline Model'}", "model_loaded": MODEL_NAME}, 200
|
| 463 |
|
| 464 |
-
if
|
| 465 |
load_model()
|
| 466 |
app.run(host='0.0.0.0', port=int(os.getenv('PORT', 7860)))
|
|
|
|
| 461 |
"status": "healthy",
|
| 462 |
"message": f"Multi-architecture API Router up and running. Target: {'Diffusion Framework' if IS_DIFFUSION else 'Causal Baseline Model'}", "model_loaded": MODEL_NAME}, 200
|
| 463 |
|
| 464 |
+
if __name__ == '__main__':
|
| 465 |
load_model()
|
| 466 |
app.run(host='0.0.0.0', port=int(os.getenv('PORT', 7860)))
|