OuroborosM commited on
Commit
7e8ddcb
·
1 Parent(s): 6944f55

update UI3

Browse files
Files changed (1) hide show
  1. app.py +8 -10
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
- with gr.Blocks(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)
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()