Spaces:
Runtime error
Runtime error
TenzinGayche
commited on
Commit
•
ac55441
1
Parent(s):
78ff922
Update app.py
Browse files
app.py
CHANGED
@@ -44,9 +44,9 @@ def transcribe(microphone, upload):
|
|
44 |
iface = gr.Interface(
|
45 |
fn=transcribe,
|
46 |
inputs=[gr.Audio(source="microphone", type="filepath"),gr.Audio(source="upload", type="filepath")],
|
47 |
-
outputs="text",
|
48 |
title="Whisper Small Tibetan",
|
49 |
-
description="Realtime demo for Tibetan speech recognition using a fine-tuned Whisper medium model.
|
50 |
)
|
51 |
|
52 |
iface.launch()
|
|
|
44 |
iface = gr.Interface(
|
45 |
fn=transcribe,
|
46 |
inputs=[gr.Audio(source="microphone", type="filepath"),gr.Audio(source="upload", type="filepath")],
|
47 |
+
outputs=["text","audio"],
|
48 |
title="Whisper Small Tibetan",
|
49 |
+
description="Realtime demo for Tibetan speech recognition using a fine-tuned Whisper medium model.",
|
50 |
)
|
51 |
|
52 |
iface.launch()
|