runtime error

Exit code: 1. Reason: call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1663, in call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 856, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 1045, in _examples_fn response = 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 2470, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/home/user/app/app.py", line 13, in echo chat_completion = client.chat.completions.create( File "/usr/local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 361, in create return self._post( File "/usr/local/lib/python3.10/site-packages/groq/_base_client.py", line 1222, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/usr/local/lib/python3.10/site-packages/groq/_base_client.py", line 1031, in request raise self._make_status_error_from_response(err.response) from None groq.NotFoundError: Error code: 404 - {'error': {'message': 'The model `llama-3.1-8b-instant` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'code': 'model_not_found'}} Traceback (most recent call last): File "/home/user/app/app.py", line 31, in <module> demo.launch() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2717, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.

Container logs:

Fetching error logs...