runtime error
Exit code: 1. Reason: -08 14:51:37 | INFO | fairseq.tasks.speech_to_text | dictionary size (spm_char.txt): 90 /usr/local/lib/python3.10/site-packages/torch/nn/utils/weight_norm.py:143: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`. WeightNorm.apply(module, name, dim) /usr/local/lib/python3.10/site-packages/fairseq/models/text_to_speech/vocoder.py:191: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. state_dict = torch.load(checkpoint_path) 2024-11-08 14:51:38 | INFO | fairseq.models.text_to_speech.vocoder | loaded HiFiGAN checkpoint from /home/user/.cache/fairseq/models--facebook--tts_transformer-tr-cv7/snapshots/fcdf56ed69b5d31e32aefc7093454c62b03ec791/hifigan.bin 2024-11-08 14:51:39 | INFO | fairseq.models.text_to_speech.vocoder | loaded HiFiGAN checkpoint from /home/user/.cache/fairseq/models--facebook--tts_transformer-tr-cv7/snapshots/fcdf56ed69b5d31e32aefc7093454c62b03ec791/hifigan.bin Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> demo = gr.Interface(fn=tts, inputs=gr.inputs.Textbox(placeholder="Lütfen Cümle Giriniz..", lines=5), outputs=outputs) AttributeError: module 'gradio' has no attribute 'inputs'
Container logs:
Fetching error logs...