INFO: Started server process [31410] INFO: Waiting for application startup. Repo card metadata block was not found. Setting CardData to empty. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:55718 - "GET /api/stats HTTP/1.1" 200 OK Unhandled exception Traceback (most recent call last): File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/cors.py", line 85, in __call__ await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/gzip.py", line 29, in __call__ await responder(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/gzip.py", line 46, in __call__ await self.app(scope, receive, self.send_with_compression) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 736, in app await route.handle(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 290, in handle await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 125, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 111, in app response = await f(request) ^^^^^^^^^^^^^^^^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 391, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... ) ^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 290, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/hamidaho/hf_viz/backend/api/routes/models.py", line 196, in get_models filtered_reduced = current_reduced[filtered_indices] ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ IndexError: index 5000 is out of bounds for axis 0 with size 5000 INFO: 127.0.0.1:55722 - "GET /api/models?limit=1 HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ self.scope, self.receive, self.send ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/applications.py", line 1134, in __call__ await super().__call__(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__ raise exc File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/cors.py", line 85, in __call__ await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/gzip.py", line 29, in __call__ await responder(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/gzip.py", line 46, in __call__ await self.app(scope, receive, self.send_with_compression) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 736, in app await route.handle(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/routing.py", line 290, in handle await self.app(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 125, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app raise exc File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 111, in app response = await f(request) ^^^^^^^^^^^^^^^^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 391, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... ) ^ File "/Users/hamidaho/hf_viz/venv/lib/python3.13/site-packages/fastapi/routing.py", line 290, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/hamidaho/hf_viz/backend/api/routes/models.py", line 196, in get_models filtered_reduced = current_reduced[filtered_indices] ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ IndexError: index 5000 is out of bounds for axis 0 with size 5000 Repo card metadata block was not found. Setting CardData to empty. INFO: 127.0.0.1:55737 - "GET /api/model-count/current?use_models_page=true&use_dataset_snapshot=true&use_cache=true HTTP/1.1" 200 OK /opt/homebrew/Cellar/python@3.13/3.13.7/Frameworks/Python.framework/Versions/3.13/lib/python3.13/multiprocessing/resource_tracker.py:324: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown: {'/loky-31410-uhk6grf9'} warnings.warn(