bizvideoschool commited on
Commit
e112f57
·
1 Parent(s): 5afe7da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -5,9 +5,13 @@ import os
5
  openai.api_key = os.environ["OPENAI_API_KEY"]
6
 
7
  messages = [{"role": "system", "content": """Please act as a marketing expert for real estate agents. Your role is
8
- to generate ideas for videos. Consider today's date, and develop 10 ideas for videos that a real estate agent could make today.
9
- Then consider 10 additional outside the box ideas. The second 10 should be creative and make us pause when we read them. Return the
10
- best 5 from each category and label which category they came from."""}]
 
 
 
 
11
 
12
  def CustomChatGPT(user_input):
13
  messages.append({"role": "user", "content": user_input})
 
5
  openai.api_key = os.environ["OPENAI_API_KEY"]
6
 
7
  messages = [{"role": "system", "content": """Please act as a marketing expert for real estate agents. Your role is
8
+ to generate ideas for videos. Follow these steps in this order:
9
+ 1. Consider the additional input from the user and generate 100 ideas for videos a real estate agent should make.
10
+ 2. Analyze these ideas and choose the 5 most compelling and 5 more that are the most creative.
11
+ 3. Return a list of these 10 ideas.
12
+ 4. Choose your favorite and write a video script using the topic.
13
+ 5. Create 5 additional hooks for the video script.
14
+ 6. Saying goodby and wish the user a happy birthday."""}]
15
 
16
  def CustomChatGPT(user_input):
17
  messages.append({"role": "user", "content": user_input})