runtime error
Exit code: 1. Reason: api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1437, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1109, 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 2441, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 943, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 650, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 46, in get_scope_and_change_impact_assessment return get_project_scope(describe_your_project_idea_here), get_change_impact_assessment(describe_your_project_idea_here) File "/home/user/app/app.py", line 38, in get_project_scope return get_response_from_llm(describe_your_project_idea_here, task, formatting) File "/home/user/app/app.py", line 28, in get_response_from_llm response = openai.ChatCompletion.create( File "/usr/local/lib/python3.10/site-packages/openai/lib/_old_api.py", line 39, in __call__ raise APIRemovedInV1(symbol=self._symbol) openai.lib._old_api.APIRemovedInV1: You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28` A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742 IMPORTANT: You are using gradio version 3.44.4, however version 5.0.1 is available, please upgrade. --------
Container logs:
Fetching error logs...