DreamStream-1 commited on
Commit
d3f0e15
·
verified ·
1 Parent(s): 6148c3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -391,7 +391,7 @@ with gr.Blocks(title="Document Q&A System", css=custom_css) as demo:
391
 
392
  with gr.Row():
393
  with gr.Column(scale=1):
394
- with gr.Box(elem_classes="file-upload"):
395
  file_input = gr.File(
396
  label="Upload Document",
397
  file_types=[".pdf", ".txt", ".doc", ".docx"],
@@ -406,7 +406,7 @@ with gr.Blocks(title="Document Q&A System", css=custom_css) as demo:
406
 
407
  with gr.Row():
408
  with gr.Column(scale=2):
409
- with gr.Box(elem_classes="chat-container"):
410
  chatbot = gr.Chatbot(
411
  height=500,
412
  type="messages",
 
391
 
392
  with gr.Row():
393
  with gr.Column(scale=1):
394
+ with gr.Group(elem_classes="file-upload"):
395
  file_input = gr.File(
396
  label="Upload Document",
397
  file_types=[".pdf", ".txt", ".doc", ".docx"],
 
406
 
407
  with gr.Row():
408
  with gr.Column(scale=2):
409
+ with gr.Group(elem_classes="chat-container"):
410
  chatbot = gr.Chatbot(
411
  height=500,
412
  type="messages",