ccm commited on
Commit
825395e
·
verified ·
1 Parent(s): 57c1330

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -184,7 +184,10 @@ gradio.ChatInterface(
184
  chatbot=gradio.Chatbot(
185
  show_label=False, show_copy_button=True, value=[[None, GREETING]]
186
  ),
187
- css = "#component-0 { height:100%; }",
 
 
 
188
  retry_btn=None,
189
  undo_btn=None,
190
  clear_btn=None,
 
184
  chatbot=gradio.Chatbot(
185
  show_label=False, show_copy_button=True, value=[[None, GREETING]]
186
  ),
187
+ css = ".logo img { height: 25% }"
188
+ ".contain { display: flex; flex-direction: column; }"
189
+ "#component-0, #component-3, #component-8 { height: 100% !important; }"
190
+ "#chatbot { flex-grow: 1; overflow: auto;}",
191
  retry_btn=None,
192
  undo_btn=None,
193
  clear_btn=None,