Spaces:
Runtime error
Runtime error
Commit
·
52f7098
1
Parent(s):
be19420
adjust UI
Browse files
app.py
CHANGED
|
@@ -697,22 +697,23 @@ with gr.Blocks() as demo:
|
|
| 697 |
|
| 698 |
|
| 699 |
with gr.Row():
|
| 700 |
-
|
| 701 |
-
upload_file_button = gr.UploadButton("📁 UPLOAD", file_count="single", scale= 0)
|
| 702 |
agentchoice = gr.Dropdown(
|
| 703 |
choices=['Zero Short Agent','Zero Short React','OpenAI Multi'],
|
| 704 |
label="SELECT AI AGENT",
|
| 705 |
-
scale= 1,
|
| 706 |
show_label = True,
|
| 707 |
value="Zero Short Agent"
|
| 708 |
)
|
| 709 |
-
voice_input = gr.Audio(source="microphone", type="filepath", scale= 1)
|
| 710 |
voice_output = gr.Audio(
|
| 711 |
source="microphone",
|
| 712 |
type="filepath",
|
| 713 |
scale= 1,
|
| 714 |
interactive=False,
|
| 715 |
autoplay= True)
|
|
|
|
|
|
|
| 716 |
retry_button = gr.Button("RETRY")
|
| 717 |
clear_button = gr.Button("CLEAR")
|
| 718 |
with gr.Accordion(
|
|
|
|
| 697 |
|
| 698 |
|
| 699 |
with gr.Row():
|
| 700 |
+
|
|
|
|
| 701 |
agentchoice = gr.Dropdown(
|
| 702 |
choices=['Zero Short Agent','Zero Short React','OpenAI Multi'],
|
| 703 |
label="SELECT AI AGENT",
|
| 704 |
+
scale= 1.2,
|
| 705 |
show_label = True,
|
| 706 |
value="Zero Short Agent"
|
| 707 |
)
|
| 708 |
+
voice_input = gr.Audio(source="microphone", type="filepath", scale= 1.2)
|
| 709 |
voice_output = gr.Audio(
|
| 710 |
source="microphone",
|
| 711 |
type="filepath",
|
| 712 |
scale= 1,
|
| 713 |
interactive=False,
|
| 714 |
autoplay= True)
|
| 715 |
+
upload_button = gr.UploadButton("✡️ INGEST DB", file_count="multiple", scale= 0)
|
| 716 |
+
upload_file_button = gr.UploadButton("📁 UPLOAD", file_count="single", scale= 0)
|
| 717 |
retry_button = gr.Button("RETRY")
|
| 718 |
clear_button = gr.Button("CLEAR")
|
| 719 |
with gr.Accordion(
|