Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,16 @@ from huggingface_hub import InferenceClient
|
|
| 3 |
|
| 4 |
client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
|
| 5 |
|
| 6 |
-
theme = gr.themes.Soft(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
def reply(user_msg: str, history: list, name: str):
|
| 9 |
name = name or "friend"
|
|
|
|
| 3 |
|
| 4 |
client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
|
| 5 |
|
| 6 |
+
theme = gr.themes.Soft(
|
| 7 |
+
primary_hue="pink",
|
| 8 |
+
secondary_hue='white',
|
| 9 |
+
neutral_hue='grey'
|
| 10 |
+
).set(
|
| 11 |
+
input_background_fill="*neutral_50",
|
| 12 |
+
input_border_color_focus="*primary_300",
|
| 13 |
+
button_primary_background_fill="*primary_500",
|
| 14 |
+
button_primary_background_fill_hover="*primary_400"
|
| 15 |
+
)
|
| 16 |
|
| 17 |
def reply(user_msg: str, history: list, name: str):
|
| 18 |
name = name or "friend"
|