Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def bot_audio_interface(wav):
|
|
32 |
with gr.Blocks() as demo:
|
33 |
with gr.Row():
|
34 |
with gr.Column():
|
35 |
-
audio_input = gr.Audio(type="filepath", label="Input Audio") # Input âm thanh
|
36 |
recognized_textbox = gr.Textbox(label="Recognized Text") # Text được nhận dạng bên trái
|
37 |
with gr.Column():
|
38 |
audio_output = gr.Audio(type="filepath", label="Response Audio") # Output âm thanh bên phải
|
|
|
32 |
with gr.Blocks() as demo:
|
33 |
with gr.Row():
|
34 |
with gr.Column():
|
35 |
+
audio_input = gr.Audio(sources="microphone", type="filepath", label="Input Audio") # Input âm thanh
|
36 |
recognized_textbox = gr.Textbox(label="Recognized Text") # Text được nhận dạng bên trái
|
37 |
with gr.Column():
|
38 |
audio_output = gr.Audio(type="filepath", label="Response Audio") # Output âm thanh bên phải
|