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