darkc0de commited on
Commit
8b2094a
Β·
verified Β·
1 Parent(s): c86a7e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(theme="dark", head=kofi_script, css=custom_css) as demo:
165
  label=None, # Set to None to remove the label text below the image
166
  show_label=False, # Also hide the label
167
  container=False, # Set to False to remove the default container styling
168
- height="auto", # Adjust height as needed, e.g., 100, "200px", "auto"
169
  width="100%", # Set width to fill the container
170
  elem_classes=["header-image"] # Apply custom CSS class for centering/responsiveness
171
  )
@@ -177,7 +177,7 @@ with gr.Blocks(theme="dark", head=kofi_script, css=custom_css) as demo:
177
  gr.ChatInterface(
178
  fn=respond, # The function to call when a message is sent
179
  chatbot=gr.Chatbot( # Configure the chatbot display area
180
- height=800, # Set the height of the chat history display to 800px
181
  label="Xortron - Criminal Computing" # Set the label
182
  )
183
  )
 
165
  label=None, # Set to None to remove the label text below the image
166
  show_label=False, # Also hide the label
167
  container=False, # Set to False to remove the default container styling
168
+ height="75", # Adjust height as needed, e.g., 100, "200px", "auto"
169
  width="100%", # Set width to fill the container
170
  elem_classes=["header-image"] # Apply custom CSS class for centering/responsiveness
171
  )
 
177
  gr.ChatInterface(
178
  fn=respond, # The function to call when a message is sent
179
  chatbot=gr.Chatbot( # Configure the chatbot display area
180
+ height=700, # Set the height of the chat history display to 800px
181
  label="Xortron - Criminal Computing" # Set the label
182
  )
183
  )