Spaces:
Running
Running
aviseth commited on
Commit ·
768396a
1
Parent(s): e83ba6b
chore: clean up preload log message
Browse files- src/api/main.py +2 -2
src/api/main.py
CHANGED
|
@@ -89,8 +89,8 @@ async def startup_event():
|
|
| 89 |
from src.models.inference import get_classifier
|
| 90 |
get_classifier(model_key)
|
| 91 |
print(f"✅ {model_key} loaded")
|
| 92 |
-
except Exception
|
| 93 |
-
print(f"
|
| 94 |
|
| 95 |
print("🚀 API server started")
|
| 96 |
|
|
|
|
| 89 |
from src.models.inference import get_classifier
|
| 90 |
get_classifier(model_key)
|
| 91 |
print(f"✅ {model_key} loaded")
|
| 92 |
+
except Exception:
|
| 93 |
+
print(f"ℹ️ {model_key} will load on first request")
|
| 94 |
|
| 95 |
print("🚀 API server started")
|
| 96 |
|