OuroborosM commited on
Commit
0cf4514
·
1 Parent(s): d05d93d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -366,14 +366,16 @@ def func_upload_file(files, chat_history):
366
  yield chat_history
367
 
368
  with gr.Blocks() as demo:
369
- main = gr.ChatInterface(
370
- chathmi2,
371
- title="STLA BABY - YOUR FRIENDLY GUIDE",
372
- description= "v0.3: Powered by MECH Core Team",
373
-
374
- )
375
- upload_button = gr.UploadButton("Upload File", file_count="multiple")
376
- upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
 
 
377
 
378
  # demo = gr.Interface(
379
  # chathmi,
 
366
  yield chat_history
367
 
368
  with gr.Blocks() as demo:
369
+ gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
370
+ with gr.Box()
371
+ main = gr.ChatInterface(
372
+ chathmi2,
373
+ title="STLA BABY - YOUR FRIENDLY GUIDE",
374
+ description= "v0.3: Powered by MECH Core Team",
375
+
376
+ )
377
+ upload_button = gr.UploadButton("Upload File", file_count="multiple")
378
+ upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
379
 
380
  # demo = gr.Interface(
381
  # chathmi,