Spaces:
Runtime error
Runtime error
datnth1709
commited on
Commit
·
16a1150
1
Parent(s):
ad6ff47
update library
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ with gr.Blocks() as demo:
|
|
111 |
audio = gr.Audio(source="microphone", label="Input Audio", type="filepath")
|
112 |
translate_button = gr.Button(value="Translate To English")
|
113 |
with gr.Column():
|
114 |
-
|
115 |
|
116 |
translate_button.click(lambda voice: inference(voice), inputs=audio, outputs=english)
|
117 |
gr.Examples(examples=vi_example_voice,
|
|
|
111 |
audio = gr.Audio(source="microphone", label="Input Audio", type="filepath")
|
112 |
translate_button = gr.Button(value="Translate To English")
|
113 |
with gr.Column():
|
114 |
+
english = gr.Textbox(label="English Text")
|
115 |
|
116 |
translate_button.click(lambda voice: inference(voice), inputs=audio, outputs=english)
|
117 |
gr.Examples(examples=vi_example_voice,
|