Spaces:
Paused
Paused
Commit
•
f43a6b0
1
Parent(s):
b51ffc6
ui edits
Browse files- gradio-ui.py +4 -1
gradio-ui.py
CHANGED
@@ -10,11 +10,14 @@ with gr.Blocks(theme=theme) as ui:
|
|
10 |
with gr.Row():
|
11 |
with gr.Column(scale=1):
|
12 |
message = gr.Audio(source="microphone", type="filepath")
|
13 |
-
|
|
|
|
|
14 |
with gr.Column(scale=1):
|
15 |
audio_response = gr.Audio()
|
16 |
with gr.Row():
|
17 |
text_response = gr.Textbox(label="Transcript", max_lines=10)
|
|
|
18 |
btn2 = gr.Button("Save Conversation")
|
19 |
|
20 |
btn1.click(fn=d.respond, inputs=message, outputs=[audio_response, text_response])
|
|
|
10 |
with gr.Row():
|
11 |
with gr.Column(scale=1):
|
12 |
message = gr.Audio(source="microphone", type="filepath")
|
13 |
+
with gr.Row():
|
14 |
+
btn1 = gr.Button("Respond")
|
15 |
+
with gr.Row():
|
16 |
with gr.Column(scale=1):
|
17 |
audio_response = gr.Audio()
|
18 |
with gr.Row():
|
19 |
text_response = gr.Textbox(label="Transcript", max_lines=10)
|
20 |
+
with gr.Row():
|
21 |
btn2 = gr.Button("Save Conversation")
|
22 |
|
23 |
btn1.click(fn=d.respond, inputs=message, outputs=[audio_response, text_response])
|