runtime error
Exit code: 1. Reason: return await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 716, in run_sync_iterator_async return next(iterator) File "/home/user/app/app.py", line 99, in respond for messages in client.chat_completion( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 924, in chat_completion data = self._inner_post(request_parameters, stream=stream) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 280, in _inner_post hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 473, in hf_raise_for_status raise _format(HfHubHTTPError, message, response) from e huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-684ae9b8-53651f1b14ea1c912f726fa0;a35c49a5-f875-43df-a6fd-9f216a2d6fca) 403 Forbidden: This authentication method does not have sufficient permissions to call Inference Providers on behalf of user Maddiew1314. Cannot access content at: https://router.huggingface.co/hf-inference/models/HuggingFaceH4/zephyr-7b-beta/v1/chat/completions. Make sure your token has the correct permissions. Traceback (most recent call last): File "/home/user/app/app.py", line 126, in <module> demo.launch(debug=True) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2786, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Container logs:
Fetching error logs...