Spaces:
Sleeping
Sleeping
Commit
•
7c48400
1
Parent(s):
affee2c
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def transcribe_and_translate(audio):
|
|
11 |
return transcription, translation
|
12 |
|
13 |
iface = gr.Interface(
|
14 |
-
fn=
|
15 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
16 |
outputs=[gr.Textbox(), gr.Textbox()],
|
17 |
title="Whisper Small Swedish to English Translator",
|
|
|
11 |
return transcription, translation
|
12 |
|
13 |
iface = gr.Interface(
|
14 |
+
fn=transcribe_and_translate,
|
15 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
16 |
outputs=[gr.Textbox(), gr.Textbox()],
|
17 |
title="Whisper Small Swedish to English Translator",
|