GreenRaptor commited on
Commit
9869d32
·
1 Parent(s): 6ad3465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -35,6 +35,12 @@ css = """
35
  margin: auto;
36
  padding-top: 1.5rem;
37
  }
 
 
 
 
 
 
38
  """
39
 
40
  with gr.Blocks(css=css) as demo:
@@ -43,7 +49,7 @@ with gr.Blocks(css=css) as demo:
43
 
44
  # chatbot = gr.Chatbot()
45
  # msg = gr.Textbox()
46
- chatbot = gr.Chatbot([], show_label=False, elem_id="chatbot").style(min-height="30rem")
47
 
48
  # with gr.Row():
49
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
 
35
  margin: auto;
36
  padding-top: 1.5rem;
37
  }
38
+ #chatbot {
39
+ min-height: 22rem;
40
+ margin-bottom: 15px;
41
+ margin-left: auto;
42
+ margin-right: auto;
43
+ }
44
  """
45
 
46
  with gr.Blocks(css=css) as demo:
 
49
 
50
  # chatbot = gr.Chatbot()
51
  # msg = gr.Textbox()
52
+ chatbot = gr.Chatbot([], show_label=False, elem_id="chatbot").style(height="auto")
53
 
54
  # with gr.Row():
55
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):