GreenRaptor commited on
Commit
eb58dc9
·
1 Parent(s): 4516d66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -35,6 +35,9 @@ css = """
35
  margin: auto;
36
  padding-top: 1.5rem;
37
  }
 
 
 
38
  """
39
 
40
  with gr.Blocks(css=css) as demo:
@@ -43,7 +46,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>div>.h-full {
39
+ min-height: 30rem;
40
+ }
41
  """
42
 
43
  with gr.Blocks(css=css) as demo:
 
46
 
47
  # chatbot = gr.Chatbot()
48
  # msg = gr.Textbox()
49
+ chatbot = gr.Chatbot([], show_label=False, elem_id="chatbot").style(height="auto")
50
 
51
  # with gr.Row():
52
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):