runtime error
Exit code: 1. Reason: No model was supplied, defaulted to facebook/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, 9.79MB/s] model.safetensors: 0%| | 0.00/378M [00:00<?, ?B/s][A model.safetensors: 0%| | 8.13k/378M [00:01<13:38:34, 7.69kB/s][A model.safetensors: 30%|βββ | 113M/378M [00:02<00:04, 62.3MB/s] [A model.safetensors: 100%|ββββββββββ| 378M/378M [00:03<00:00, 121MB/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, 991kB/s] vocab.json: 0%| | 0.00/291 [00:00<?, ?B/s][A vocab.json: 100%|ββββββββββ| 291/291 [00:00<00:00, 1.82MB/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, 556kB/s] preprocessor_config.json: 0%| | 0.00/159 [00:00<?, ?B/s][A preprocessor_config.json: 100%|ββββββββββ| 159/159 [00:00<00:00, 971kB/s] Device set to use cpu Traceback (most recent call last): File "/home/user/app/app.py", line 13, in <module> inputs=[gr.inputs.Audio(source="upload", type="filepath", label="Record/ Drop audio"), "state"], AttributeError: module 'gradio' has no attribute 'inputs'
Container logs:
Fetching error logs...