Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -301,6 +301,18 @@ use_web_search = gr.Checkbox(label="Use Web Search", value=True)
|
|
301 |
|
302 |
custom_placeholder = "Ask a question (Note: You can toggle between Web Search and PDF Chat in Additional Inputs below)"
|
303 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
demo = gr.ChatInterface(
|
305 |
chatbot_interface,
|
306 |
additional_inputs=[
|
|
|
301 |
|
302 |
custom_placeholder = "Ask a question (Note: You can toggle between Web Search and PDF Chat in Additional Inputs below)"
|
303 |
|
304 |
+
css = """
|
305 |
+
/* Fine-tune chatbox size */
|
306 |
+
.chatbot-container {
|
307 |
+
height: 600px !important;
|
308 |
+
width: 100% !important;
|
309 |
+
}
|
310 |
+
.chatbot-container > div {
|
311 |
+
height: 100%;
|
312 |
+
width: 100%;
|
313 |
+
}
|
314 |
+
"""
|
315 |
+
|
316 |
demo = gr.ChatInterface(
|
317 |
chatbot_interface,
|
318 |
additional_inputs=[
|