Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,30 +48,6 @@ daysoff_assistant_prompt = PromptTemplate(
|
|
48 |
async def async_post_request(url, headers, data):
|
49 |
return await asyncio.to_thread(requests.post, url, headers=headers, json=data)
|
50 |
|
51 |
-
@cl.set_starters
|
52 |
-
async def set_starters():
|
53 |
-
return [
|
54 |
-
cl.Starter(
|
55 |
-
label="Booking ID request",
|
56 |
-
message="Kan du gi meg info om en reservasjon?",
|
57 |
-
icon="/public/booking_id.svg",
|
58 |
-
),
|
59 |
-
cl.Starter(
|
60 |
-
label="Metric Space Self-Identity Framework",
|
61 |
-
message="Explain the Metric Space Self-Identity Framework like I'm five years old.",
|
62 |
-
icon="/public/learn.svg",
|
63 |
-
),
|
64 |
-
cl.Starter(
|
65 |
-
label="Python script for daily email reports",
|
66 |
-
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
67 |
-
icon="/public/terminal.svg",
|
68 |
-
),
|
69 |
-
cl.Starter(
|
70 |
-
label="Morning routine ideation",
|
71 |
-
message="Can you help me create a personalized Yoga/pranayama/meditation 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.",
|
72 |
-
icon="/public/idea.svg",
|
73 |
-
)
|
74 |
-
]
|
75 |
|
76 |
@cl.on_chat_start
|
77 |
def setup_multiple_chains():
|
|
|
48 |
async def async_post_request(url, headers, data):
|
49 |
return await asyncio.to_thread(requests.post, url, headers=headers, json=data)
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
@cl.on_chat_start
|
53 |
def setup_multiple_chains():
|