runtime error
Exit code: 3. Reason: gth=1, example="Artificial intelligence is transforming the world.") /home/user/app/main.py:504: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'example'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/ texts: list[str] = Field(..., min_length=1, example=["Deep learning uses neural networks.", "The quick brown fox jumps."]) /home/user/app/main.py:510: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'example'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/ text: str = Field(..., min_length=1, example="Machine learning is a subset of AI. It enables systems to learn from data.") INFO: Started server process [1] INFO: Waiting for application startup. ERROR: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 638, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 250, in __aenter__ await self._router._startup() File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 5568, in _startup handler() File "/home/user/app/main.py", line 237, in startup_event _load_models() File "/home/user/app/main.py", line 149, in _load_models raise FileNotFoundError( FileNotFoundError: No model found. FORMAT A: place 'model_compressed.joblib' in /data/saved_hybrid_model FORMAT B: place rf_model.pkl + tfidf_vectorizer.pkl + label_encoder.pkl in /data/saved_hybrid_model Missing: ['/data/saved_hybrid_model/rf_model.pkl', '/data/saved_hybrid_model/tfidf_vectorizer.pkl', '/data/saved_hybrid_model/label_encoder.pkl'] ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...