bizvideoschool commited on
Commit
8132ae1
·
1 Parent(s): ce76762

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -6,12 +6,13 @@ 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 topic summary ideas for social media videos. Follow these steps in this order:
9
- 1. Generate 100 ideas for videos a real estate agent should make. Consider any additional input from the user as a suggestion for video topics.
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})
 
6
 
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, take the last input from the user into consideration as a suggestion for topics to focus on.
10
+ 2. Generate 100 ideas for videos a real estate agent should make.
11
+ 3. Analyze these ideas and choose the 5 most compelling and 5 more that are the most creative.
12
+ 4. Return a list of these 10 ideas.
13
+ 5. Choose your favorite and write a video script using the topic.
14
+ 6. Create 5 additional hooks for the video script.
15
+ 7. Saying goodby and wish the user a happy birthday."""}]
16
 
17
  def CustomChatGPT(user_input):
18
  messages.append({"role": "user", "content": user_input})