jbilcke-hf HF Staff commited on
Commit
12331f3
·
1 Parent(s): fdd8552

fix the prompt

Browse files
api_core.py CHANGED
@@ -307,11 +307,11 @@ 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 of a <AGE>yo <GENDER> <CHARACTERS> <ACTIONS>, <LOCATION> <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.
314
- Keep it minimalist but still descriptive, don't use bullets points, use simple words, go to the essential to describe style (cinematic, documentary footage, 3D rendering..), camera modes and angles, characters, age, gender, action, location, lighting, country, costume, time, weather, textures, color palette.. etc).
315
  The most import part is to describe the actions and movements in the scene, so don't forget that!
316
  Don't describe sound, so ever say things like "atmospheric music playing in the background".
317
  Instead describe the visual elements we can see in the background, be precise, (if there are anything, cars, objects, people, bricks, birds, clouds, trees, leaves or grass then say it so 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>. 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.
314
+ Keep it minimalist but still descriptive, don't use bullets points, use simple words, go to the essential to describe style (cinematic, documentary footage, 3D rendering..), camera modes and angles, characters, age, gender, action, location, lighting, country, costume, time, weather, textures, color palette.. etc). Write about 80 words, and use between 2 and 3 sentences.
315
  The most import part is to describe the actions and movements in the scene, so don't forget that!
316
  Don't describe sound, so ever say things like "atmospheric music playing in the background".
317
  Instead describe the visual elements we can see in the background, be precise, (if there are anything, cars, objects, people, bricks, birds, clouds, trees, leaves or grass then say it so etc).
build/web/flutter_bootstrap.js CHANGED
@@ -39,6 +39,6 @@ _flutter.buildConfig = {"engineRevision":"382be0028d370607f76215a9be322e5514b263
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
- serviceWorkerVersion: "3339164160"
43
  }
44
  });
 
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
+ serviceWorkerVersion: "417971175"
43
  }
44
  });
build/web/flutter_service_worker.js CHANGED
@@ -3,7 +3,7 @@ const MANIFEST = 'flutter-app-manifest';
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
- const RESOURCES = {"flutter_bootstrap.js": "674dbab54c14a9eb68e39718202da566",
7
  "version.json": "b5eaae4fc120710a3c35125322173615",
8
  "index.html": "f34c56fffc6b38f62412a5db2315dec8",
9
  "/": "f34c56fffc6b38f62412a5db2315dec8",
 
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
+ const RESOURCES = {"flutter_bootstrap.js": "6c54f2fbd8b5685eb858721ec6270b3d",
7
  "version.json": "b5eaae4fc120710a3c35125322173615",
8
  "index.html": "f34c56fffc6b38f62412a5db2315dec8",
9
  "/": "f34c56fffc6b38f62412a5db2315dec8",