runtime error
cal/lib/python3.8/site-packages/fsspec/asyn.py", line 54, in _runner result[0] = await coro File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 258, in create await self.cache() File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 292, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 950, in process_api result = await self.call_function(fn_index, inputs, iterator) File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 792, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "app.py", line 46, in get_drummer_output note_text = get_note_text(prompt) File "app.py", line 21, in get_note_text response = openai.Completion.create( File "/home/user/.local/lib/python3.8/site-packages/openai/api_resources/completion.py", line 25, in create return super().create(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "/home/user/.local/lib/python3.8/site-packages/openai/api_requestor.py", line 216, in request result = self.request_raw( File "/home/user/.local/lib/python3.8/site-packages/openai/api_requestor.py", line 526, in request_raw raise error.Timeout("Request timed out: {}".format(e)) from e openai.error.Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
Container logs:
Fetching error logs...