Spaces:
Runtime error
Runtime error
Commit ·
4a86afd
1
Parent(s): f756f2c
update UI
Browse files
app.py
CHANGED
|
@@ -545,13 +545,13 @@ def read_logs():
|
|
| 545 |
with gr.Blocks() as demo:
|
| 546 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
| 547 |
with gr.Row():
|
| 548 |
-
with gr.
|
| 549 |
main = gr.ChatInterface(
|
| 550 |
chathmi2,
|
| 551 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
| 552 |
description= "v0.3: Powered by MECH Core Team",
|
| 553 |
)
|
| 554 |
-
with gr.Column(scale=
|
| 555 |
upload_button = gr.UploadButton("Upload To DB", file_count="multiple", scale= 1)
|
| 556 |
upload_file_button = gr.UploadButton("Upload File", file_count="single", scale= 1)
|
| 557 |
voice_input = gr.Audio(source="microphone", type="filepath", scale= 1)
|
|
|
|
| 545 |
with gr.Blocks() as demo:
|
| 546 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
| 547 |
with gr.Row():
|
| 548 |
+
with gr.Column(scale=2, min_width=800):
|
| 549 |
main = gr.ChatInterface(
|
| 550 |
chathmi2,
|
| 551 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
| 552 |
description= "v0.3: Powered by MECH Core Team",
|
| 553 |
)
|
| 554 |
+
with gr.Column(scale=0):
|
| 555 |
upload_button = gr.UploadButton("Upload To DB", file_count="multiple", scale= 1)
|
| 556 |
upload_file_button = gr.UploadButton("Upload File", file_count="single", scale= 1)
|
| 557 |
voice_input = gr.Audio(source="microphone", type="filepath", scale= 1)
|