Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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.
|
| 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",
|