Spaces:
Running
Running
Change chatbot theme to Tryo colors
Browse files
app.py
CHANGED
@@ -84,6 +84,13 @@ def predict(message, history):
|
|
84 |
|
85 |
return ai_response["answer"]
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
gr.ChatInterface(
|
89 |
fn=predict,
|
@@ -91,5 +98,6 @@ gr.ChatInterface(
|
|
91 |
"What experience do you have working with pricing optimization?",
|
92 |
"How can I build my own MLOps pipeline?",
|
93 |
"How can I fine-tune my own LLMs?"
|
94 |
-
]
|
|
|
95 |
).launch()
|
|
|
84 |
|
85 |
return ai_response["answer"]
|
86 |
|
87 |
+
theme = gr.themes.Default().set(
|
88 |
+
button_primary_background_fill_dark="#26C8A1",
|
89 |
+
button_primary_background_fill_hover_dark="#3cd6b2",
|
90 |
+
button_primary_border_color_dark="#26C8A1",
|
91 |
+
button_primary_text_color_dark="#0B0723",
|
92 |
+
background_fill_primary_dark="#0B0723",
|
93 |
+
)
|
94 |
|
95 |
gr.ChatInterface(
|
96 |
fn=predict,
|
|
|
98 |
"What experience do you have working with pricing optimization?",
|
99 |
"How can I build my own MLOps pipeline?",
|
100 |
"How can I fine-tune my own LLMs?"
|
101 |
+
],
|
102 |
+
theme=theme
|
103 |
).launch()
|