runtime error
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/base_provider.py", line 223, in create_completion yield loop.run_until_complete(await_callback(gen.__anext__)) File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/usr/local/lib/python3.10/site-packages/g4f/providers/base_provider.py", line 52, in await_callback return await callback() File "/usr/local/lib/python3.10/site-packages/g4f/Provider/Bing.py", line 421, in stream_generate conversation = await create_conversation(session, headers, tone) File "/usr/local/lib/python3.10/site-packages/g4f/Provider/bing/conversation.py", line 45, in create_conversation raise RuntimeError('Empty response: Failed to create conversation') RuntimeError: Empty response: Failed to create conversation
Container logs:
Fetching error logs...