runtime error
Exit code: 1. Reason: ok/wav2vec2-base-960h and revision 22aad52 (https://huggingface.co/facebook/wav2vec2-base-960h). Using a pipeline without specifying a model name and revision in production is not recommended. config.json: 0%| | 0.00/1.60k [00:00<?, ?B/s][A config.json: 100%|██████████| 1.60k/1.60k [00:00<00:00, 1.48MB/s] model.safetensors: 0%| | 0.00/378M [00:00<?, ?B/s][A model.safetensors: 3%|▎ | 10.5M/378M [00:01<00:41, 8.80MB/s][A model.safetensors: 27%|██▋ | 102M/378M [00:02<00:05, 53.5MB/s] [A model.safetensors: 82%|████████▏ | 311M/378M [00:03<00:00, 120MB/s] [A model.safetensors: 100%|██████████| 378M/378M [00:03<00:00, 97.5MB/s] Some weights of Wav2Vec2ForCTC were not initialized from the model checkpoint at facebook/wav2vec2-base-960h and are newly initialized: ['wav2vec2.masked_spec_embed'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. tokenizer_config.json: 0%| | 0.00/163 [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 163/163 [00:00<00:00, 874kB/s] vocab.json: 0%| | 0.00/291 [00:00<?, ?B/s][A vocab.json: 100%|██████████| 291/291 [00:00<00:00, 1.45MB/s] special_tokens_map.json: 0%| | 0.00/85.0 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 85.0/85.0 [00:00<00:00, 561kB/s] preprocessor_config.json: 0%| | 0.00/159 [00:00<?, ?B/s][A preprocessor_config.json: 100%|██████████| 159/159 [00:00<00:00, 839kB/s] Device set to use cpu Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> inputs=[gr.Audio(sources="microphone", type="filepath", optional=True), File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 190, in wrapper return fn(self, **kwargs) TypeError: Audio.__init__() got an unexpected keyword argument 'optional'
Container logs:
Fetching error logs...