Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
ed3f31d
1
Parent(s):
12331f3
fix the prompt
Browse files- api_core.py +1 -1
api_core.py
CHANGED
@@ -307,7 +307,7 @@ class VideoGenerationAPI:
|
|
307 |
prompt = f"""# Instruction
|
308 |
Your response MUST be a YAML object containing a title and description, consistent with what we can find on a video sharing platform.
|
309 |
Format your YAML response with only those fields: "title" (a short string) and "description" (string caption of the scene). Do not add any other field.
|
310 |
-
In the description field, describe in a very synthetic way the visuals of the first shot (first scene), eg "<STYLE>, medium close-up shot, high angle view. In the foreground a <AGE>yo <GENDER> <CHARACTERS> <ACTIONS>. In the background <DESCRIBE THE LOCATION>. The scene is lit by <LIGHTING> <WEATHER>". This is just an example! you MUST replace the <TAGS>!!.
|
311 |
Don't forget to replace <STYLE> etc, by the actual fields!!
|
312 |
For the style, be creative, for instance you can use anything like a "documentary footage", "japanese animation", "movie scene", "tv series", "tv show", "security footage" etc.
|
313 |
If the user ask for something specific eg an anime use "japanese animation, ", for a documentary about animals in nature use "documentary footage, " as a style etc.
|
|
|
307 |
prompt = f"""# Instruction
|
308 |
Your response MUST be a YAML object containing a title and description, consistent with what we can find on a video sharing platform.
|
309 |
Format your YAML response with only those fields: "title" (a short string) and "description" (string caption of the scene). Do not add any other field.
|
310 |
+
In the description field, describe in a very synthetic way the visuals of the first shot (first scene), eg "<STYLE>, medium close-up shot, high angle view. In the foreground a <AGE>yo <GENDER> <CHARACTERS> <ACTIONS>. In the background <DESCRIBE THE LOCATION, BACKGROUND CHARACTERS OR OBJECTS ETC>. The scene is lit by <LIGHTING> <WEATHER>". This is just an example! you MUST replace the <TAGS>!!.
|
311 |
Don't forget to replace <STYLE> etc, by the actual fields!!
|
312 |
For the style, be creative, for instance you can use anything like a "documentary footage", "japanese animation", "movie scene", "tv series", "tv show", "security footage" etc.
|
313 |
If the user ask for something specific eg an anime use "japanese animation, ", for a documentary about animals in nature use "documentary footage, " as a style etc.
|