Update app.py
Browse filesSet max_length to 20 s
app.py
CHANGED
@@ -36,7 +36,7 @@ demo = gr.Interface(
|
|
36 |
* `alphacep/vosk-model-small-ru` - Alpha Cephei Vosk 0.52-small-ru ([origin](https://huggingface.co/alphacep/vosk-model-small-ru))
|
37 |
* `whisper-base` - OpenAI Whisper Base exported with onnxruntime ([origin](https://huggingface.co/openai/whisper-base), [onnx](https://huggingface.co/istupakov/whisper-base-onnx))
|
38 |
""",
|
39 |
-
inputs=[gr.Audio(min_length=1, max_length=
|
40 |
outputs=[gr.Dataframe(headers=["Model", "result"], wrap=True, show_fullscreen_button=True)],
|
41 |
flagging_mode="never",
|
42 |
)
|
|
|
36 |
* `alphacep/vosk-model-small-ru` - Alpha Cephei Vosk 0.52-small-ru ([origin](https://huggingface.co/alphacep/vosk-model-small-ru))
|
37 |
* `whisper-base` - OpenAI Whisper Base exported with onnxruntime ([origin](https://huggingface.co/openai/whisper-base), [onnx](https://huggingface.co/istupakov/whisper-base-onnx))
|
38 |
""",
|
39 |
+
inputs=[gr.Audio(min_length=1, max_length=20)],
|
40 |
outputs=[gr.Dataframe(headers=["Model", "result"], wrap=True, show_fullscreen_button=True)],
|
41 |
flagging_mode="never",
|
42 |
)
|