Spaces:
Sleeping
Sleeping
Commit
•
0df796a
1
Parent(s):
860202f
Update app.py
Browse files
app.py
CHANGED
@@ -8,12 +8,5 @@ def transcribe(audio):
|
|
8 |
|
9 |
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
|
10 |
|
11 |
-
iface = gr.Interface(
|
12 |
-
fn=transcribe,
|
13 |
-
inputs=mic,
|
14 |
-
outputs="text",
|
15 |
-
title="Whisper Small Chinese",
|
16 |
-
description="Realtime demo for Chinese speech recognition using a fine-tuned Whisper small model.",
|
17 |
-
)
|
18 |
-
iface.launch()
|
19 |
|
|
|
8 |
|
9 |
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
|
10 |
|
11 |
+
iface = gr.Interface(transcribe,mic,"text").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|