runtime error
Exit code: 1. Reason: n process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1621, in call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 882, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 543, in get_final_item async for x in self.fn(*args): # noqa: B007 # type: ignore File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 1113, in _examples_stream_fn async for response in generator: File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 751, in __anext__ 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 2485, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 976, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 734, in run_sync_iterator_async return next(iterator) File "/app/app.py", line 22, in respond for msg in client.chat_completion(messages, max_tokens=512, stream=True, temperature=0.7): File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 923, in chat_completion request_parameters = provider_helper.prepare_request( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_providers/_common.py", line 91, in prepare_request api_key = self._prepare_api_key(api_key) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_providers/_common.py", line 146, in _prepare_api_key raise ValueError( ValueError: You must provide an api_key to work with auto API or log in with `hf auth login`.
Container logs:
Fetching error logs...