runtime error

Exit code: 1. Reason: kages/gradio/blocks.py", line 1935, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1520, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore 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 2405, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 914, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper response = f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 478, in get_final_item for x in self.fn(*args): # noqa: B007 # type: ignore File "/home/user/app/run.py", line 34, in generate_text stream = client.text_generation(chat_prompt, stream=True, details=True, **gen_kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 2127, in text_generation raise_text_generation_error(e) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_common.py", line 428, in raise_text_generation_error raise http_error File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 2097, in text_generation bytes_output = self.post(json=payload, model=model, task="text-generation", stream=stream) # type: ignore File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 305, in post hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 460, in hf_raise_for_status raise _format(BadRequestError, message, response) from e huggingface_hub.errors.BadRequestError: (Request ID: 16RIGI) Bad request: Bad Request: Invalid state

Container logs:

Fetching error logs...