whispy commited on
Commit
c968a60
1 Parent(s): c7eee43

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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=["text", "text"],
 
 
 
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",