runtime error

Exit code: 1. Reason: y", line 56, in _runner result[0] = await coro File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 277, in create await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 338, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1553, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1191, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, 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 2502, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 659, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 36, in greet return get_response_from_text(context) File "/home/user/app/app.py", line 28, in get_response_from_text a = get_response(i, 1) File "/home/user/app/app.py", line 12, in get_response batch = tokenizer.prepare_seq2seq_batch([input_text], truncation=True, padding='longest', max_length=10000, File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1291, in __getattr__ raise AttributeError(f"{self.__class__.__name__} has no attribute {key}") AttributeError: PegasusTokenizer has no attribute prepare_seq2seq_batch IMPORTANT: You are using gradio version 3.46.0, however version 4.44.1 is available, please upgrade. -------- model.safetensors: 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 2.01G/2.28G [00:02<00:00, 913MB/s]  model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.28G/2.28G [00:03<00:00, 741MB/s]

Container logs:

Fetching error logs...