runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status response.raise_for_status() File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B/v1/chat/completions The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 91, in <module> answer = ai.ask_question(question, enhance_visuals=True) File "/home/user/app/app.py", line 79, in ask_question response = self.generate_response() File "/home/user/app/app.py", line 59, in generate_response completion = self.client.chat.completions.create( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 892, in chat_completion data = self.post(model=model_url, json=payload, stream=stream) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 306, in post hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B/v1/chat/completions
Container logs:
Fetching error logs...