ysharma HF staff commited on
Commit
1f48fa6
1 Parent(s): b8eb2ac

update layout for column container

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,7 +61,8 @@ Assistant: <utterance>
61
  In this app, you can explore the outputs of a 20B large language model.
62
  """
63
 
64
- with gr.Blocks(css = "#col_container {width: 700px; height: 400px; overflow: auto; margin-left: auto; margin-right: auto;}") as demo:
 
65
  gr.HTML(title)
66
  with gr.Column(elem_id = "col_container"):
67
  chatbot = gr.Chatbot(elem_id='chatbot') #c
 
61
  In this app, you can explore the outputs of a 20B large language model.
62
  """
63
 
64
+ with gr.Blocks(css = """#col_container {width: 700px; margin-left: auto; margin-right: auto;}
65
+ "#chatbot {height: 400px; overflow: auto;}""") as demo:
66
  gr.HTML(title)
67
  with gr.Column(elem_id = "col_container"):
68
  chatbot = gr.Chatbot(elem_id='chatbot') #c