runtime error
Exit code: 1. Reason: rtup_events await startup_event() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 469, in _start_caching await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 535, in cache prediction = await self.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2147, in process_api result = await self.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 93, in respond response = client.text_generation(prompt, max_new_tokens=250) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 2296, in text_generation request_parameters = provider_helper.prepare_request( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_providers/_common.py", line 90, in prepare_request provider_mapping_info = self._prepare_mapping_info(model) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_providers/_common.py", line 159, in _prepare_mapping_info raise ValueError( ValueError: Model google/gemma-2-2b-it is not supported for task text-generation and provider nebius. Supported task: conversational.
Container logs:
Fetching error logs...