Update README.md
Browse files
README.md
CHANGED
@@ -230,7 +230,7 @@ body, .gradio-container {
|
|
230 |
height: auto;
|
231 |
}
|
232 |
|
233 |
-
/* TO ADJUST THE FONT SIZE OF USER/ASSISTANT
|
234 |
/* Reduce font size for chatbot messages */
|
235 |
.message {
|
236 |
font-size: 1.1rem !important;
|
@@ -246,14 +246,40 @@ body, .gradio-container {
|
|
246 |
|
247 |
/* TO CHANGE THE COLOR OF RETRY/UNDO/CLEAR BUTTONS */
|
248 |
button.sm.secondary.svelte-cmf5ev {
|
249 |
-
background-color: white !important;
|
250 |
-
color: black !important;
|
251 |
-
border:
|
252 |
-
box-shadow: none !important;
|
|
|
253 |
}
|
254 |
-
/* Optional: hover effect */
|
255 |
button.sm.secondary.svelte-cmf5ev:hover {
|
256 |
-
background-color:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
}
|
258 |
"""
|
259 |
|
@@ -366,6 +392,7 @@ demo.launch(server_name="0.0.0.0", share=True)
|
|
366 |
|
367 |
(The above works in `runpod.io`.) The interface should look like this:
|
368 |

|
|
|
369 |
|
370 |
</details>
|
371 |
|
|
|
230 |
height: auto;
|
231 |
}
|
232 |
|
233 |
+
/* TO ADJUST THE FONT SIZE OF USER/ASSISTANT MESSAGES */
|
234 |
/* Reduce font size for chatbot messages */
|
235 |
.message {
|
236 |
font-size: 1.1rem !important;
|
|
|
246 |
|
247 |
/* TO CHANGE THE COLOR OF RETRY/UNDO/CLEAR BUTTONS */
|
248 |
button.sm.secondary.svelte-cmf5ev {
|
249 |
+
background-color: white !important;
|
250 |
+
color: black !important;
|
251 |
+
border: 1.5px solid #F7D9DA !important;
|
252 |
+
box-shadow: none !important;
|
253 |
+
transition: background-color 0.3s ease;
|
254 |
}
|
|
|
255 |
button.sm.secondary.svelte-cmf5ev:hover {
|
256 |
+
background-color: #FEF2F2 !important;
|
257 |
+
}
|
258 |
+
|
259 |
+
/* TO ADD A COLORED BORDER ON BUTTONS */
|
260 |
+
.gradio-container .styler.svelte-iyf88w {
|
261 |
+
border: 1.5px solid #F7D9DA !important;
|
262 |
+
border-radius: 6px !important; /* Adjust this value as needed */
|
263 |
+
overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
|
264 |
+
}
|
265 |
+
|
266 |
+
.gradio-container .styler.svelte-iyf88w,
|
267 |
+
button.sm.secondary.svelte-cmf5ev > div {
|
268 |
+
border-radius: 8px !important; /* Slightly smaller than the outer border radius */
|
269 |
+
background-color: white !important; /* Or whatever background color you prefer */
|
270 |
+
margin: 0 !important; /* Remove any margin that might be causing gaps */
|
271 |
+
}
|
272 |
+
|
273 |
+
/* TO ADD A COLORED BORDER ON CHAT BOX */
|
274 |
+
.gradio-container .bubble-wrap.svelte-1e1jlin {
|
275 |
+
border: 1.5px solid #F7D9DA !important;
|
276 |
+
border-radius: 8px !important; /* Adjust this value as needed */
|
277 |
+
overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
|
278 |
+
}
|
279 |
+
.gradio-container .bubble-wrap.svelte-1e1jlin > div {
|
280 |
+
border-radius: 10px !important; /* Slightly smaller than the outer border radius */
|
281 |
+
background-color: white !important; /* Or whatever background color you prefer */
|
282 |
+
margin: 0 !important; /* Remove any margin that might be causing gaps */
|
283 |
}
|
284 |
"""
|
285 |
|
|
|
392 |
|
393 |
(The above works in `runpod.io`.) The interface should look like this:
|
394 |

|
395 |
+
(We roughly followed the appearance of Céline's books published by Denoël, as well as those in the 'Collection Blanche' series by Gallimard, but you are free to modify the template if you wish.)
|
396 |
|
397 |
</details>
|
398 |
|