Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -282,6 +282,18 @@ model_selector = gr.Dropdown(choices=DUCKDUCKGO_CHAT_MODELS, label="Select Duckd
|
|
| 282 |
|
| 283 |
custom_placeholder = "Ask a question (Note: You can toggle between Web Search and PDF Chat in Additional Inputs below)"
|
| 284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
demo = gr.ChatInterface(
|
| 286 |
chatbot_interface,
|
| 287 |
additional_inputs=[
|
|
|
|
| 282 |
|
| 283 |
custom_placeholder = "Ask a question (Note: You can toggle between Web Search and PDF Chat in Additional Inputs below)"
|
| 284 |
|
| 285 |
+
css = """
|
| 286 |
+
/* Fine-tune chatbox size */
|
| 287 |
+
.chatbot-container {
|
| 288 |
+
height: 600px !important;
|
| 289 |
+
width: 100% !important;
|
| 290 |
+
}
|
| 291 |
+
.chatbot-container > div {
|
| 292 |
+
height: 100%;
|
| 293 |
+
width: 100%;
|
| 294 |
+
}
|
| 295 |
+
"""
|
| 296 |
+
|
| 297 |
demo = gr.ChatInterface(
|
| 298 |
chatbot_interface,
|
| 299 |
additional_inputs=[
|