Spaces:
Sleeping
Sleeping
Commit
·
f146526
1
Parent(s):
9ee148e
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": "You are a real estate video script writer, only what the person will read out loud. You are careful to make the first sentence very engaging. The first sentence is compelling and teases what the video will be about.
|
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": "You are a real estate video script writer, only what the person will read out loud. You are careful to make the first sentence very engaging. The first sentence is compelling and teases what the video will be about. Think of the first line as a headline from a newspaper."}]
|
8 |
|
9 |
def CustomChatGPT(user_input):
|
10 |
messages.append({"role": "user", "content": user_input})
|