alexnasa commited on
Commit
39fd4c9
·
verified ·
1 Parent(s): b3c7d71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -553,7 +553,7 @@ inferpipe = WanInferencePipeline(args)
553
 
554
  ADAPTIVE_PROMPT_TEMPLATES = [
555
  "A realistic video of a person speaking and moving their head accordingly but without moving their hands.",
556
- "A realistic video of a person speaking and moving their head and eyes accordingly, sometimes looking at the camera and sometimes looking away but without moving their hands.",
557
  "A realistic video of a person speaking and sometimes looking directly to the camera and moving their eyes and pupils and head accordingly and turning and looking at the camera and looking away from the camera based on their movements with dynamic and rhythmic and extensive hand gestures that complement their speech. Their hands are clearly visible, independent, and unobstructed. Their facial expressions are expressive and full of emotion, enhancing the delivery. The camera remains steady, capturing sharp, clear movements and a focused, engaging presence."
558
  ]
559
 
@@ -562,7 +562,7 @@ def slider_value_change(image_path, audio_path, text, num_steps, adaptive_text):
562
  if adaptive_text:
563
 
564
  if num_steps < 8:
565
- text = ADAPTIVE_PROMPT_TEMPLATES[0]
566
  elif num_steps < 10:
567
  text = ADAPTIVE_PROMPT_TEMPLATES[1]
568
  else:
 
553
 
554
  ADAPTIVE_PROMPT_TEMPLATES = [
555
  "A realistic video of a person speaking and moving their head accordingly but without moving their hands.",
556
+ "A realistic video of a person speaking and moving their head and eyes accordingly, sometimes looking at the camera and sometimes looking away but with subtle hands movement that complements their speech.",
557
  "A realistic video of a person speaking and sometimes looking directly to the camera and moving their eyes and pupils and head accordingly and turning and looking at the camera and looking away from the camera based on their movements with dynamic and rhythmic and extensive hand gestures that complement their speech. Their hands are clearly visible, independent, and unobstructed. Their facial expressions are expressive and full of emotion, enhancing the delivery. The camera remains steady, capturing sharp, clear movements and a focused, engaging presence."
558
  ]
559
 
 
562
  if adaptive_text:
563
 
564
  if num_steps < 8:
565
+ text = ADAPTIVE_PROMPT_TEMPLATES[1]
566
  elif num_steps < 10:
567
  text = ADAPTIVE_PROMPT_TEMPLATES[1]
568
  else: