Spaces:
Runtime error
Runtime error
Commit
·
3ccd8bb
1
Parent(s):
a846d22
Fix typo
Browse files
app.py
CHANGED
@@ -43,13 +43,14 @@ with gr.Blocks() as demo:
|
|
43 |
|
44 |
""")
|
45 |
|
46 |
-
with gr.
|
|
|
47 |
audio_input = gr.Audio(label = 'Record Audio Input',source="microphone",type="filepath")
|
48 |
with gr.Row():
|
49 |
transcribe_audio = gr.Button('Transcribe')
|
50 |
|
51 |
-
|
52 |
-
|
53 |
|
54 |
transcribe_audio.click(translate, inputs = audio_input, outputs = transcript_output)
|
55 |
|
|
|
43 |
|
44 |
""")
|
45 |
|
46 |
+
with gr.Row():
|
47 |
+
with gr.Column():
|
48 |
audio_input = gr.Audio(label = 'Record Audio Input',source="microphone",type="filepath")
|
49 |
with gr.Row():
|
50 |
transcribe_audio = gr.Button('Transcribe')
|
51 |
|
52 |
+
with gr.Column():
|
53 |
+
transcript_output = gr.Textbox(label="Transcription in the language you spoke")
|
54 |
|
55 |
transcribe_audio.click(translate, inputs = audio_input, outputs = transcript_output)
|
56 |
|