DarwinAnim8or commited on
Commit
aeeac2d
1 Parent(s): 11cb107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -13
app.py CHANGED
@@ -82,19 +82,9 @@ additional_inputs=[
82
  ]
83
 
84
  customCSS = """
85
- .contain {
86
- display: flex;
87
- flex-direction: column;
88
- }
89
- .gradio-container {
90
- height: 100vh !important;
91
- }
92
- #component-0 {
93
- height: 100%;
94
- }
95
- #chatbot {
96
  flex-grow: 1;
97
- overflow: auto;
98
  }
99
  """
100
 
@@ -102,6 +92,6 @@ with gr.Blocks(css=customCSS) as demo:
102
  gr.ChatInterface(
103
  generate,
104
  additional_inputs=additional_inputs,
105
- ).style("height: 600px;")
106
 
107
  demo.queue().launch(debug=True)
 
82
  ]
83
 
84
  customCSS = """
85
+ #component-7 { # this is the default element ID of the chat component
86
+ height: 800px; # adjust the height as needed
 
 
 
 
 
 
 
 
 
87
  flex-grow: 1;
 
88
  }
89
  """
90
 
 
92
  gr.ChatInterface(
93
  generate,
94
  additional_inputs=additional_inputs,
95
+ )
96
 
97
  demo.queue().launch(debug=True)