runtime error

Exit code: 1. Reason: locks.py", line 1786, in process_api result = await self.call_function( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/blocks.py", line 1338, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.pyenv/versions/3.10.14/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 "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, *args) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/utils.py", line 759, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 72, in gen_tts generation = model.generate( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/parler_tts/modeling_parler_tts.py", line 2463, in generate model_kwargs["attention_mask"] = self._prepare_attention_mask_for_generation( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/generation/utils.py", line 499, in _prepare_attention_mask_for_generation torch.isin(elements=inputs, test_elements=pad_token_id).any() TypeError: isin() received an invalid combination of arguments - got (test_elements=int, elements=Tensor, ), but expected one of: * (Tensor elements, Tensor test_elements, *, bool assume_unique = False, bool invert = False, Tensor out = None) * (Number element, Tensor test_elements, *, bool assume_unique = False, bool invert = False, Tensor out = None) * (Tensor elements, Number test_element, *, bool assume_unique = False, bool invert = False, Tensor out = None)

Container logs:

Fetching error logs...