Spaces:
Sleeping
Sleeping
Update theme
Browse files
app.py
CHANGED
|
@@ -33,7 +33,22 @@ def respond(message, history):
|
|
| 33 |
# responses = ["That's a terrible question. Try again", "I don't think I should answer that...", "What do you think, genius?", "You are a bad person for asking that.", "Absolutely not", "Uuuuh, obviously.", "Of all the things you could ask, you went with that?", "I don't know, look it up", "I mean, yeah, I guess...", "That's gonna be a big nope", ""]
|
| 34 |
# return random.choice(responses)
|
| 35 |
|
| 36 |
-
with gr.Blocks(theme=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
with gr.Row(scale=1):
|
| 38 |
gr.Image("Quentin.png", show_label = False, show_share_button = False, show_download_button = False)
|
| 39 |
gr.ChatInterface(respond, type="messages", theme="mgetz/Celeb_glitzy", title="Quentin, the helpful chatbot")
|
|
|
|
| 33 |
# responses = ["That's a terrible question. Try again", "I don't think I should answer that...", "What do you think, genius?", "You are a bad person for asking that.", "Absolutely not", "Uuuuh, obviously.", "Of all the things you could ask, you went with that?", "I don't know, look it up", "I mean, yeah, I guess...", "That's gonna be a big nope", ""]
|
| 34 |
# return random.choice(responses)
|
| 35 |
|
| 36 |
+
with gr.Blocks(theme=theme = gr.themes.Citrus(
|
| 37 |
+
secondary_hue="red",
|
| 38 |
+
neutral_hue="gray",
|
| 39 |
+
text_size="lg",
|
| 40 |
+
).set(
|
| 41 |
+
background_fill_primary='*neutral_200',
|
| 42 |
+
background_fill_secondary='*neutral_400',
|
| 43 |
+
background_fill_secondary_dark='*secondary_700',
|
| 44 |
+
border_color_accent='*secondary_400',
|
| 45 |
+
border_color_accent_dark='*secondary_800',
|
| 46 |
+
color_accent='*secondary_300',
|
| 47 |
+
color_accent_soft='*secondary_500',
|
| 48 |
+
color_accent_soft_dark='*secondary_400',
|
| 49 |
+
button_primary_background_fill='*secondary_500',
|
| 50 |
+
button_primary_background_fill_dark='*secondary_600'
|
| 51 |
+
)) as chatbot:
|
| 52 |
with gr.Row(scale=1):
|
| 53 |
gr.Image("Quentin.png", show_label = False, show_share_button = False, show_download_button = False)
|
| 54 |
gr.ChatInterface(respond, type="messages", theme="mgetz/Celeb_glitzy", title="Quentin, the helpful chatbot")
|