Spaces:
Running
Running
aheedsajid
commited on
Commit
•
7af11d6
1
Parent(s):
27131f1
Update app.py
Browse files
app.py
CHANGED
@@ -247,14 +247,14 @@ def generate_video(topic, voice_choice):
|
|
247 |
"messages": [
|
248 |
{
|
249 |
"role": "system",
|
250 |
-
"content": "
|
251 |
-
[Description of a background image]
|
252 |
-
Narrator: "One sentence of narration"
|
253 |
-
### The short should be 6 sentences maximum."""
|
254 |
},
|
255 |
{
|
256 |
"role": "user",
|
257 |
-
"content": f"make a short video on: \n\n{topic}
|
|
|
|
|
|
|
258 |
}
|
259 |
]
|
260 |
}
|
|
|
247 |
"messages": [
|
248 |
{
|
249 |
"role": "system",
|
250 |
+
"content": "You are a YouTube short video creator."
|
|
|
|
|
|
|
251 |
},
|
252 |
{
|
253 |
"role": "user",
|
254 |
+
"content": f"""make a short video on: \n\n{topic} Generate 30 seconds to 1 minute of video. You will need to generate a very short description of images for each of the sentences. They will be used for background images. Note that the script will be fed into a text-to-speech engine, so dont use special characters. Respond with a pair of an image description in square brackets and a script below it. Both of them should be on their own lines, as follows: ###
|
255 |
+
[Description of a background image]
|
256 |
+
Narrator: "One sentence of narration"
|
257 |
+
### The short should be 6 sentences maximum."""
|
258 |
}
|
259 |
]
|
260 |
}
|