Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def transcribe(audio):
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
-
inputs=gr.Audio(
|
| 13 |
outputs="text",
|
| 14 |
title="Whisper Small Hindi for (University Living Task2)",
|
| 15 |
description="Realtime demo for Hindi speech recognition using a fine-tuned Whisper small model.",
|
|
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
| 13 |
outputs="text",
|
| 14 |
title="Whisper Small Hindi for (University Living Task2)",
|
| 15 |
description="Realtime demo for Hindi speech recognition using a fine-tuned Whisper small model.",
|