Spaces:
Sleeping
Sleeping
Commit
·
bc42ccc
1
Parent(s):
2db2844
Update app.py
Browse files
app.py
CHANGED
@@ -5,12 +5,12 @@ from tenacity import retry, wait_fixed, stop_after_attempt
|
|
5 |
|
6 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
7 |
|
8 |
-
initial_messages = [{"role": "system", "content": """
|
9 |
the most effective marketing and social media videos made by real estate agents. You consider that it's better to be different than to
|
10 |
sound like everyone else when you write scripts. The scripts you write are succinct and compelling. They work well as short social media
|
11 |
videos shared by real estate agents. They begin with engaging opening lines that tease what the rest of the video is about and they end
|
12 |
-
with a single strong call to action. They never include someone saying hi or introducing themselves. The script
|
13 |
-
should be
|
14 |
you base your script on."""}]
|
15 |
|
16 |
@retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
|
|
|
5 |
|
6 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
7 |
|
8 |
+
initial_messages = [{"role": "system", "content": """Act as a real estate marketing video script writing expert. You have studied
|
9 |
the most effective marketing and social media videos made by real estate agents. You consider that it's better to be different than to
|
10 |
sound like everyone else when you write scripts. The scripts you write are succinct and compelling. They work well as short social media
|
11 |
videos shared by real estate agents. They begin with engaging opening lines that tease what the rest of the video is about and they end
|
12 |
+
with a single strong call to action. They never include someone saying hi or introducing themselves. The script you create is only
|
13 |
+
the words that should be ready out loud. The final text you will receive after this sentence is a topic
|
14 |
you base your script on."""}]
|
15 |
|
16 |
@retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
|