Spaces:
Runtime error
Runtime error
Commit
·
7e8ddcb
1
Parent(s):
6944f55
update UI3
Browse files
app.py
CHANGED
@@ -544,17 +544,15 @@ def read_logs():
|
|
544 |
|
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 |
-
|
549 |
-
|
550 |
-
|
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)
|
558 |
with gr.Accordion("LOGS"):
|
559 |
# logs = gr.Textbox()
|
560 |
logs = gr.Textbox()
|
|
|
544 |
|
545 |
with gr.Blocks() as demo:
|
546 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
547 |
+
main = gr.ChatInterface(
|
548 |
+
chathmi2,
|
549 |
+
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
550 |
+
description= "v0.3: Powered by MECH Core Team",
|
551 |
+
)
|
552 |
with gr.Row():
|
553 |
+
upload_button = gr.UploadButton("Upload To DB", file_count="multiple", scale= 1)
|
554 |
+
upload_file_button = gr.UploadButton("Upload File", file_count="single", scale= 1)
|
555 |
+
voice_input = gr.Audio(source="microphone", type="filepath", scale= 1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
with gr.Accordion("LOGS"):
|
557 |
# logs = gr.Textbox()
|
558 |
logs = gr.Textbox()
|