Spaces:
Sleeping
Sleeping
Commit
·
bea5dd3
1
Parent(s):
9c519b0
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,8 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
|
|
7 |
messages = [{"role": "system", "content": """Please act as a marketing expert for real estate agents. Your role is
|
8 |
to generate topic summary ideas for social media videos. Follow these steps in this order:
|
9 |
1. Before you execute any steps, consider the last input from the user as a suggestion for the types of topics you should create.
|
10 |
-
2. Generate 100 ideas for videos a real estate agent should make.
|
11 |
-
|
12 |
-
4. Return a list of these 5 ideas."""}]
|
13 |
|
14 |
def CustomChatGPT(user_input):
|
15 |
messages.append({"role": "user", "content": user_input})
|
|
|
7 |
messages = [{"role": "system", "content": """Please act as a marketing expert for real estate agents. Your role is
|
8 |
to generate topic summary ideas for social media videos. Follow these steps in this order:
|
9 |
1. Before you execute any steps, consider the last input from the user as a suggestion for the types of topics you should create.
|
10 |
+
2. Generate 100 ideas for videos a real estate agent should make, and analyze them to choose the 10 most compelling. Do not return all 100 ideas.
|
11 |
+
4. Return a list of these 10 most compelling ideas."""}]
|
|
|
12 |
|
13 |
def CustomChatGPT(user_input):
|
14 |
messages.append({"role": "user", "content": user_input})
|