Upload app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,10 @@ mf_transcribe = gr.Interface(
|
|
| 73 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
| 74 |
gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
| 75 |
],
|
| 76 |
-
outputs=[
|
|
|
|
|
|
|
|
|
|
| 77 |
layout="horizontal",
|
| 78 |
theme="huggingface",
|
| 79 |
title="Whisper Demo: Transcribe and Translate Italian Audio",
|
|
|
|
| 73 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
| 74 |
gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
| 75 |
],
|
| 76 |
+
outputs=[
|
| 77 |
+
gr.Textbox(label="Transcribed text"),
|
| 78 |
+
gr.Textbox(label="Translated text"),
|
| 79 |
+
],
|
| 80 |
layout="horizontal",
|
| 81 |
theme="huggingface",
|
| 82 |
title="Whisper Demo: Transcribe and Translate Italian Audio",
|