Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ def demo():
|
|
| 140 |
min-width: 200px;
|
| 141 |
flex-grow: 1;
|
| 142 |
}
|
| 143 |
-
@media (max-width:
|
| 144 |
#column-left { min-width: 40px; }
|
| 145 |
#column-right { min-width: 200px; }
|
| 146 |
}
|
|
@@ -169,7 +169,7 @@ def demo():
|
|
| 169 |
|
| 170 |
with gr.Column(elem_id="column-right"):
|
| 171 |
gr.Markdown("<b>Step 2 - Chat with your Document</b>")
|
| 172 |
-
chatbot = gr.Chatbot(height=
|
| 173 |
with gr.Accordion("Relevant context from the source document", open=False):
|
| 174 |
with gr.Row():
|
| 175 |
doc_source1 = gr.Textbox(label="Reference 1", lines=2, scale=20)
|
|
|
|
| 140 |
min-width: 200px;
|
| 141 |
flex-grow: 1;
|
| 142 |
}
|
| 143 |
+
@media (max-width: 400px) {
|
| 144 |
#column-left { min-width: 40px; }
|
| 145 |
#column-right { min-width: 200px; }
|
| 146 |
}
|
|
|
|
| 169 |
|
| 170 |
with gr.Column(elem_id="column-right"):
|
| 171 |
gr.Markdown("<b>Step 2 - Chat with your Document</b>")
|
| 172 |
+
chatbot = gr.Chatbot(height=480)
|
| 173 |
with gr.Accordion("Relevant context from the source document", open=False):
|
| 174 |
with gr.Row():
|
| 175 |
doc_source1 = gr.Textbox(label="Reference 1", lines=2, scale=20)
|