Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ desc = "Upload or record audio (wav/mp3). Model: vinai/PhoWhisper-small. Resampl
|
|
| 82 |
|
| 83 |
app = gr.Interface(
|
| 84 |
fn=s2t,
|
| 85 |
-
inputs=gr.Audio(
|
| 86 |
outputs=gr.Textbox(label="Transcription"),
|
| 87 |
title=title,
|
| 88 |
description=desc,
|
|
|
|
| 82 |
|
| 83 |
app = gr.Interface(
|
| 84 |
fn=s2t,
|
| 85 |
+
inputs = gr.Audio(type="numpy", label="Upload or record audio (.wav/.mp3)"),
|
| 86 |
outputs=gr.Textbox(label="Transcription"),
|
| 87 |
title=title,
|
| 88 |
description=desc,
|