MuntasirHossain commited on
Commit
0490339
·
verified ·
1 Parent(s): b53bf60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,7 +140,7 @@ def demo():
140
  min-width: 200px;
141
  flex-grow: 1;
142
  }
143
- @media (max-width: 600px) {
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=505)
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)