Spaces:
Sleeping
Sleeping
Commit
·
3221574
1
Parent(s):
8100aad
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. You only right the first sentence of each script and give 6 example hooks. Each is more creative than the last. The
|
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. You only right the first sentence of each script and give 6 example hooks. Each is more creative than the last. The last one should be written in spanish."}]
|
8 |
|
9 |
def CustomChatGPT(user_input):
|
10 |
messages.append({"role": "user", "content": user_input})
|