Spaces:
Sleeping
Sleeping
Commit
·
cb94a33
1
Parent(s):
96d71a8
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,12 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
|
|
6 |
|
7 |
messages = [{"role": "system", "content": """Please create engaging and informative video scripts for real
|
8 |
estate agents to use on social media. The target audience is potential homebuyers and sellers.
|
9 |
-
The tone should be professional and friendly, with a focus on building trust and showcasing the agent's expertise.
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
def CustomChatGPT(user_input):
|
12 |
messages.append({"role": "user", "content": user_input})
|
|
|
6 |
|
7 |
messages = [{"role": "system", "content": """Please create engaging and informative video scripts for real
|
8 |
estate agents to use on social media. The target audience is potential homebuyers and sellers.
|
9 |
+
The tone should be professional and friendly, with a focus on building trust and showcasing the agent's expertise.
|
10 |
+
Please incorporate a strong call-to-action at the end of each script,
|
11 |
+
encouraging viewers to contact the agent for more information or assistance.
|
12 |
+
Write only the words the agent should read into the camera. Once you create the script, analyze it and determine 5
|
13 |
+
engaging hooks that could replace the first sentence. Analyze those 5 hooks, pick the best one, and use it within
|
14 |
+
the script. Only deliver the final resulting script to the user."""}]
|
15 |
|
16 |
def CustomChatGPT(user_input):
|
17 |
messages.append({"role": "user", "content": user_input})
|