Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,11 +79,11 @@ custom_css = """
|
|
| 79 |
}
|
| 80 |
|
| 81 |
.sinhala-animation {
|
| 82 |
-
font-size:
|
| 83 |
font-weight: bold;
|
| 84 |
color: white;
|
| 85 |
animation: letterRotate 3s ease-in-out infinite;
|
| 86 |
-
text-shadow: 0 0
|
| 87 |
}
|
| 88 |
|
| 89 |
@keyframes letterRotate {
|
|
@@ -157,7 +157,8 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 157 |
|
| 158 |
chat = gr.ChatInterface(
|
| 159 |
fn=lambda message, history: infer(message, history, enable_history.value, max_new_tokens.value),
|
| 160 |
-
title="🧠 Gamunu 4B Instruct
|
|
|
|
| 161 |
examples=[
|
| 162 |
["හෙලෝ ගැමුණු! මම සමන්, ඔයාට කොහොමද?"],
|
| 163 |
["ෆොටෝසින්තසිස් ක්රියාවලිය පැහැදිලි කරන්න."],
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
.sinhala-animation {
|
| 82 |
+
font-size: 40px;
|
| 83 |
font-weight: bold;
|
| 84 |
color: white;
|
| 85 |
animation: letterRotate 3s ease-in-out infinite;
|
| 86 |
+
text-shadow: 0 0 10px rgba(255,255,255,0.5);
|
| 87 |
}
|
| 88 |
|
| 89 |
@keyframes letterRotate {
|
|
|
|
| 157 |
|
| 158 |
chat = gr.ChatInterface(
|
| 159 |
fn=lambda message, history: infer(message, history, enable_history.value, max_new_tokens.value),
|
| 160 |
+
title="🧠 Gamunu 4B Instruct",
|
| 161 |
+
theme=gr.themes.Default(text_size="sm" # "lg" means large, you can try other sizes like "xl" or "sm")
|
| 162 |
examples=[
|
| 163 |
["හෙලෝ ගැමුණු! මම සමන්, ඔයාට කොහොමද?"],
|
| 164 |
["ෆොටෝසින්තසිස් ක්රියාවලිය පැහැදිලි කරන්න."],
|