Spaces:
Runtime error
Runtime error
fixed-public
Browse files- .env +1 -1
- Dockerfile +1 -1
- app.py +4 -4
- chainlit.md +14 -0
.env
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
OPENAI_API_KEY='sk-
|
2 |
LITERAL_API_KEY='lsk_cCICn0qLfk8c674KWBaeYzSKmhljv4uBHchUnDjyc'
|
|
|
1 |
+
OPENAI_API_KEY='sk-proj-h6uIKjfGVODODpltijW0T3BlbkFJ6nsUNCkmZzRpg3RvIqsT'
|
2 |
LITERAL_API_KEY='lsk_cCICn0qLfk8c674KWBaeYzSKmhljv4uBHchUnDjyc'
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
# Install system dependencies
|
4 |
RUN apt-get update && \
|
|
|
1 |
+
FROM python:3.11-slim
|
2 |
|
3 |
# Install system dependencies
|
4 |
RUN apt-get update && \
|
app.py
CHANGED
@@ -18,22 +18,22 @@ async def set_starters():
|
|
18 |
cl.Starter(
|
19 |
label="Morning routine ideation",
|
20 |
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.",
|
21 |
-
icon="/public/idea.svg",
|
22 |
),
|
23 |
cl.Starter(
|
24 |
label="Explain superconductors",
|
25 |
message="Explain superconductors like I'm five years old.",
|
26 |
-
icon="/public/learn.svg",
|
27 |
),
|
28 |
cl.Starter(
|
29 |
label="Python script for daily email reports",
|
30 |
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
31 |
-
icon="/public/terminal.svg",
|
32 |
),
|
33 |
cl.Starter(
|
34 |
label="Text inviting friend to wedding",
|
35 |
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.",
|
36 |
-
icon="/public/write.svg",
|
37 |
)
|
38 |
]
|
39 |
|
|
|
18 |
cl.Starter(
|
19 |
label="Morning routine ideation",
|
20 |
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.",
|
21 |
+
# icon="/public/idea.svg",
|
22 |
),
|
23 |
cl.Starter(
|
24 |
label="Explain superconductors",
|
25 |
message="Explain superconductors like I'm five years old.",
|
26 |
+
# icon="/public/learn.svg",
|
27 |
),
|
28 |
cl.Starter(
|
29 |
label="Python script for daily email reports",
|
30 |
message="Write a script to automate sending daily email reports in Python, and walk me through how I would set it up.",
|
31 |
+
# icon="/public/terminal.svg",
|
32 |
),
|
33 |
cl.Starter(
|
34 |
label="Text inviting friend to wedding",
|
35 |
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.",
|
36 |
+
# icon="/public/write.svg",
|
37 |
)
|
38 |
]
|
39 |
|
chainlit.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Welcome to Chainlit! ππ€
|
2 |
+
|
3 |
+
Hi there, Developer! π We're excited to have you on board. Chainlit is a powerful tool designed to help you prototype, debug and share applications built on top of LLMs.
|
4 |
+
|
5 |
+
## Useful Links π
|
6 |
+
|
7 |
+
- **Documentation:** Get started with our comprehensive [Chainlit Documentation](https://docs.chainlit.io) π
|
8 |
+
- **Discord Community:** Join our friendly [Chainlit Discord](https://discord.gg/k73SQ3FyUh) to ask questions, share your projects, and connect with other developers! π¬
|
9 |
+
|
10 |
+
We can't wait to see what you create with Chainlit! Happy coding! π»π
|
11 |
+
|
12 |
+
## Welcome screen
|
13 |
+
|
14 |
+
To modify the welcome screen, edit the `chainlit.md` file at the root of your project. If you do not want a welcome screen, just leave this file empty.
|