Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,11 @@ css = """
|
|
27 |
.message-bubble-border {
|
28 |
border-radius: 6px !important;
|
29 |
}
|
|
|
|
|
|
|
|
|
|
|
30 |
.dark.message-bubble-border {
|
31 |
border-color: #343140 !important;
|
32 |
}
|
@@ -189,9 +194,11 @@ demo = gr.ChatInterface(
|
|
189 |
block_title_background_fill_dark="#1e1c26",
|
190 |
input_background_fill_dark="#292733",
|
191 |
button_secondary_background_fill_dark="#24212b",
|
|
|
192 |
border_color_primary_dark="#343140",
|
193 |
background_fill_secondary_dark="#16141c",
|
194 |
-
color_accent_soft_dark="transparent"
|
|
|
195 |
),
|
196 |
css=css,
|
197 |
retry_btn="Retry",
|
@@ -199,7 +206,12 @@ demo = gr.ChatInterface(
|
|
199 |
clear_btn="Clear",
|
200 |
submit_btn="Send",
|
201 |
description="Llama-cpp-agent: Chat multi llm selection",
|
202 |
-
chatbot=gr.Chatbot(
|
|
|
|
|
|
|
|
|
|
|
203 |
)
|
204 |
|
205 |
if __name__ == "__main__":
|
|
|
27 |
.message-bubble-border {
|
28 |
border-radius: 6px !important;
|
29 |
}
|
30 |
+
.message-buttons-bot, .message-buttons-user {
|
31 |
+
right: 10px !important;
|
32 |
+
left: auto !important;
|
33 |
+
bottom: 2px !important;
|
34 |
+
}
|
35 |
.dark.message-bubble-border {
|
36 |
border-color: #343140 !important;
|
37 |
}
|
|
|
194 |
block_title_background_fill_dark="#1e1c26",
|
195 |
input_background_fill_dark="#292733",
|
196 |
button_secondary_background_fill_dark="#24212b",
|
197 |
+
border_color_accent_dark="#343140",
|
198 |
border_color_primary_dark="#343140",
|
199 |
background_fill_secondary_dark="#16141c",
|
200 |
+
color_accent_soft_dark="transparent",
|
201 |
+
code_background_fill_dark="#292733",
|
202 |
),
|
203 |
css=css,
|
204 |
retry_btn="Retry",
|
|
|
206 |
clear_btn="Clear",
|
207 |
submit_btn="Send",
|
208 |
description="Llama-cpp-agent: Chat multi llm selection",
|
209 |
+
chatbot=gr.Chatbot(
|
210 |
+
scale=1,
|
211 |
+
placeholder=PLACEHOLDER,
|
212 |
+
likeable=False,
|
213 |
+
show_copy_button=True
|
214 |
+
)
|
215 |
)
|
216 |
|
217 |
if __name__ == "__main__":
|