Spaces:
Sleeping
Sleeping
travahacker
commited on
Commit
·
81392ea
1
Parent(s):
802caeb
fix: TypeError bool + ValueError share - pydantic 2.10.6, share=True, file_types explícitos
Browse files- app.py +2 -2
- requirements.txt +3 -1
app.py
CHANGED
|
@@ -83,7 +83,7 @@ with gr.Blocks(
|
|
| 83 |
with gr.Row():
|
| 84 |
audio = gr.File(
|
| 85 |
label="Áudio",
|
| 86 |
-
file_types=["
|
| 87 |
)
|
| 88 |
with gr.Row():
|
| 89 |
modelo = gr.Dropdown(
|
|
@@ -118,4 +118,4 @@ with gr.Blocks(
|
|
| 118 |
"A transcrição pode levar 1–2 min para iniciar (fila da GPU)."
|
| 119 |
)
|
| 120 |
|
| 121 |
-
demo.launch(show_error=True)
|
|
|
|
| 83 |
with gr.Row():
|
| 84 |
audio = gr.File(
|
| 85 |
label="Áudio",
|
| 86 |
+
file_types=[".mp3", ".wav", ".m4a", ".webm", ".opus", ".ogg", ".flac"],
|
| 87 |
)
|
| 88 |
with gr.Row():
|
| 89 |
modelo = gr.Dropdown(
|
|
|
|
| 118 |
"A transcrição pode levar 1–2 min para iniciar (fila da GPU)."
|
| 119 |
)
|
| 120 |
|
| 121 |
+
demo.launch(show_error=True, share=True)
|
requirements.txt
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
-
gradio>=4.
|
|
|
|
| 2 |
huggingface_hub>=0.20.0,<0.23.0
|
| 3 |
faster-whisper>=1.0.0
|
|
|
|
|
|
| 1 |
+
gradio>=4.44.1
|
| 2 |
+
gradio_client>=1.3.0
|
| 3 |
huggingface_hub>=0.20.0,<0.23.0
|
| 4 |
faster-whisper>=1.0.0
|
| 5 |
+
pydantic==2.10.6
|