Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,8 +81,22 @@ def respond(message, history):
|
|
| 81 |
response+= token
|
| 82 |
yield response
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
theme = gr.themes.Soft(
|
| 85 |
-
primary_hue="
|
| 86 |
secondary_hue="zinc",
|
| 87 |
neutral_hue="pink",
|
| 88 |
)
|
|
|
|
| 81 |
response+= token
|
| 82 |
yield response
|
| 83 |
|
| 84 |
+
custom_pink = gr.themes.Color(
|
| 85 |
+
c50="#fff0f5", # very light pink
|
| 86 |
+
c100="#ffe4e1",
|
| 87 |
+
c200="#ffccd5",
|
| 88 |
+
c300="#fbb6ce",
|
| 89 |
+
c400="#f687b3",
|
| 90 |
+
c500="#ed64a6", # main pink
|
| 91 |
+
c600="#d53f8c",
|
| 92 |
+
c700="#b83280",
|
| 93 |
+
c800="#97266d",
|
| 94 |
+
c900="#702459",
|
| 95 |
+
c950="#521b41" # darkest shade
|
| 96 |
+
)
|
| 97 |
+
|
| 98 |
theme = gr.themes.Soft(
|
| 99 |
+
primary_hue="custom_pink",
|
| 100 |
secondary_hue="zinc",
|
| 101 |
neutral_hue="pink",
|
| 102 |
)
|