Spaces:
Sleeping
Sleeping
Commit
·
cbb0034
1
Parent(s):
5a83a5a
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
6 |
|
7 |
-
messages = [{"role": "system", "content": "Please create engaging and informative video scripts for real estate agents to use on social media. The target audience is potential homebuyers and sellers. Each script should be 2-3 minutes long and cover the following topics: 1) Local real estate market updates, 2) Home buying/selling tips, 3) Featured property highlights, and 4) Agent success stories. The tone should be professional and friendly, with a focus on building trust and showcasing the agent's expertise. Please incorporate a strong call-to-action at the end of each script, encouraging viewers to contact the agent for more information or assistance."}]
|
8 |
|
9 |
def CustomChatGPT(user_input):
|
10 |
messages.append({"role": "user", "content": user_input})
|
|
|
4 |
|
5 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
6 |
|
7 |
+
messages = [{"role": "system", "content": "Please create engaging and informative video scripts for real estate agents to use on social media. The target audience is potential homebuyers and sellers. Each script should be 2-3 minutes long and cover the following topics: 1) Local real estate market updates, 2) Home buying/selling tips, 3) Featured property highlights, and 4) Agent success stories. The tone should be professional and friendly, with a focus on building trust and showcasing the agent's expertise. Please incorporate a strong call-to-action at the end of each script, encouraging viewers to contact the agent for more information or assistance. Write only the words the agent should read into the camera."}]
|
8 |
|
9 |
def CustomChatGPT(user_input):
|
10 |
messages.append({"role": "user", "content": user_input})
|