Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +19 -4
chain_app.py
CHANGED
@@ -39,23 +39,19 @@ async def set_starters():
|
|
39 |
cl.Starter(
|
40 |
label="Morning routine ideation",
|
41 |
message="Can you help me create a personalized morning routine that would help increase my productivity throughout the day? Start by asking me about my current habits and what activities energize me in the morning.",
|
42 |
-
icon="https://summer-pond-3349.fly.dev/public/idea.svg",
|
43 |
),
|
44 |
|
45 |
cl.Starter(
|
46 |
label="Explain superconductors",
|
47 |
message="Explain superconductors like I'm five years old.",
|
48 |
-
icon="https://summer-pond-3349.fly.dev/public/learn.svg",
|
49 |
),
|
50 |
cl.Starter(
|
51 |
label="Python script for daily email reports",
|
52 |
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
53 |
-
icon="https://summer-pond-3349.fly.dev/public/terminal.svg",
|
54 |
),
|
55 |
cl.Starter(
|
56 |
label="Text inviting friend to wedding",
|
57 |
message="Write a text asking a friend to be my plus-one at a wedding next month. I want to keep it super short and casual, and offer an out.",
|
58 |
-
icon="https://summer-pond-3349.fly.dev/public/write.svg",
|
59 |
)
|
60 |
]
|
61 |
|
@@ -70,6 +66,25 @@ async def chat_profile():
|
|
70 |
cl.ChatProfile(
|
71 |
name="neural-brain-AI",
|
72 |
markdown_description="The main model of neural brain",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
),
|
74 |
cl.ChatProfile(
|
75 |
name="Dorna-AI",
|
|
|
39 |
cl.Starter(
|
40 |
label="Morning routine ideation",
|
41 |
message="Can you help me create a personalized morning routine that would help increase my productivity throughout the day? Start by asking me about my current habits and what activities energize me in the morning.",
|
|
|
42 |
),
|
43 |
|
44 |
cl.Starter(
|
45 |
label="Explain superconductors",
|
46 |
message="Explain superconductors like I'm five years old.",
|
|
|
47 |
),
|
48 |
cl.Starter(
|
49 |
label="Python script for daily email reports",
|
50 |
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
|
|
51 |
),
|
52 |
cl.Starter(
|
53 |
label="Text inviting friend to wedding",
|
54 |
message="Write a text asking a friend to be my plus-one at a wedding next month. I want to keep it super short and casual, and offer an out.",
|
|
|
55 |
)
|
56 |
]
|
57 |
|
|
|
66 |
cl.ChatProfile(
|
67 |
name="neural-brain-AI",
|
68 |
markdown_description="The main model of neural brain",
|
69 |
+
starters = [
|
70 |
+
cl.Starter(
|
71 |
+
label="Morning routine ideation",
|
72 |
+
message="Can you help me create a personalized morning routine that would help increase my productivity throughout the day? Start by asking me about my current habits and what activities energize me in the morning.",
|
73 |
+
),
|
74 |
+
|
75 |
+
cl.Starter(
|
76 |
+
label="Explain superconductors",
|
77 |
+
message="Explain superconductors like I'm five years old.",
|
78 |
+
),
|
79 |
+
cl.Starter(
|
80 |
+
label="Python script for daily email reports",
|
81 |
+
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
82 |
+
),
|
83 |
+
cl.Starter(
|
84 |
+
label="Text inviting friend to wedding",
|
85 |
+
message="Write a text asking a friend to be my plus-one at a wedding next month. I want to keep it super short and casual, and offer an out.",
|
86 |
+
)
|
87 |
+
]
|
88 |
),
|
89 |
cl.ChatProfile(
|
90 |
name="Dorna-AI",
|