Snowad commited on
Commit
ea36e15
1 Parent(s): f54d6bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -112,12 +112,17 @@ chat_interface = gr.ChatInterface(
112
  ],
113
  )
114
 
115
- with gr.Blocks(css="style.css") as demo:
116
- gr.Markdown(DESCRIPTION)
117
- gr.DuplicateButton(
118
- value="Duplicate Space for private use",
119
- elem_id="duplicate-button",
120
- visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
 
 
 
 
 
121
  )
122
  chat_interface.render()
123
 
 
112
  ],
113
  )
114
 
115
+ customCSS = """
116
+ #component-7 { # this is the default element ID of the chat component
117
+ height: 800px; # adjust the height as needed
118
+ flex-grow: 1;
119
+ }
120
+ """
121
+
122
+ with gr.Blocks(css=customCSS) as demo:
123
+ gr.ChatInterface(
124
+ generate,
125
+ additional_inputs=additional_inputs,
126
  )
127
  chat_interface.render()
128