Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,13 +103,16 @@ def respond(message, history):
|
|
| 103 |
|
| 104 |
return response.choices[0].message.content.strip()
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
| 110 |
)
|
| 111 |
|
| 112 |
-
with gr.Blocks(theme=
|
| 113 |
chatbot = gr.ChatInterface(
|
| 114 |
fn = respond,
|
| 115 |
cache_examples = False,
|
|
|
|
| 103 |
|
| 104 |
return response.choices[0].message.content.strip()
|
| 105 |
|
| 106 |
+
theme = gr.themes.Soft().set(
|
| 107 |
+
body_background_fill="#000000",
|
| 108 |
+
body_text_color="#00ff88",
|
| 109 |
+
block_background_fill="#111111",
|
| 110 |
+
block_border_color="#00ff88",
|
| 111 |
+
button_primary_background_fill="#00ff88",
|
| 112 |
+
button_primary_text_color="#000000"
|
| 113 |
)
|
| 114 |
|
| 115 |
+
with gr.Blocks(theme=theme) as demo:
|
| 116 |
chatbot = gr.ChatInterface(
|
| 117 |
fn = respond,
|
| 118 |
cache_examples = False,
|