Hugging Face's logo
lineee
/
Runtime error

runtime error

usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 487, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1928, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1514, in call_function prediction = 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 2177, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 832, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 10, in generate_writing_prompt response = client.chat.completions.create( File "/usr/local/lib/python3.10/site-packages/g4f/client/client.py", line 118, in create return response if stream else next(response) File "/usr/local/lib/python3.10/site-packages/g4f/client/client.py", line 57, in iter_append_model_and_provider for chunk in response: File "/usr/local/lib/python3.10/site-packages/g4f/client/client.py", line 29, in iter_response for idx, chunk in enumerate(response): File "/usr/local/lib/python3.10/site-packages/g4f/providers/retry_provider.py", line 68, in create_completion raise_exceptions(exceptions) File "/usr/local/lib/python3.10/site-packages/g4f/providers/retry_provider.py", line 324, in raise_exceptions raise RetryProviderError("RetryProvider failed:\n" + "\n".join([ g4f.errors.RetryProviderError: RetryProvider failed: Liaobots: RateLimitError: Response 402: Rate limit reached You: MissingRequirementsError: Add .har file from you.com or install "nodriver" package | pip install -U nodriver

Container logs:

Fetching error logs...