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