Spaces:
Runtime error
Runtime error
Modified system and user message and env.sample
Browse files- .env.sample +0 -1
- app.py +4 -3
.env.sample
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
OPENAI_API_KEY=###
|
|
|
|
app.py
CHANGED
@@ -11,11 +11,12 @@ from dotenv import load_dotenv
|
|
11 |
load_dotenv()
|
12 |
|
13 |
# ChatOpenAI Templates
|
14 |
-
system_template = """You are a
|
15 |
"""
|
16 |
|
17 |
-
user_template = """
|
18 |
-
|
|
|
19 |
"""
|
20 |
|
21 |
|
|
|
11 |
load_dotenv()
|
12 |
|
13 |
# ChatOpenAI Templates
|
14 |
+
system_template = """You are a funny and unhelpful assistant. Every time you answer, you throw a joke or make fun of the question.
|
15 |
"""
|
16 |
|
17 |
+
user_template = """
|
18 |
+
Serious Question: {input}
|
19 |
+
Funny Response
|
20 |
"""
|
21 |
|
22 |
|