alexnasa commited on
Commit
29ec2e6
·
verified ·
1 Parent(s): 49206c4

better default values

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -693,17 +693,16 @@ with gr.Blocks(css=css) as demo:
693
  with gr.Column():
694
 
695
  image_input = gr.Image(label="Reference Image", type="filepath", height=512)
696
- audio_input = gr.Audio(label="Input Audio", type="filepath")
697
 
698
 
699
  with gr.Column():
700
 
701
  output_video = gr.Video(label="Avatar", height=512)
702
- num_steps = gr.Slider(4, 50, value=8, step=1, label="Steps")
703
  time_required = gr.Text(value="⌚ Zero GPU Required: --", show_label=False)
704
  infer_btn = gr.Button("🦜 Avatar Me", variant="primary")
705
- with gr.Accordion("Advanced Settings", open=False):
706
- text_input = gr.Textbox(label="Video Prompt", lines=6, value="A realistic video of a man speaking and sometimes looking directly to the camera and moving her eyes and pupils and head accordingly and he shakes his head in disappointment and tell look stright into the camera , with dynamic and rhythmic and extensive hand gestures that complement his speech. His hands are clearly visible, independent, and unobstructed. His facial expressions are expressive and full of emotion, enhancing the delivery. The camera remains steady, capturing sharp, clear movements and a focused, engaging presence.")
707
 
708
  with gr.Column():
709
 
 
693
  with gr.Column():
694
 
695
  image_input = gr.Image(label="Reference Image", type="filepath", height=512)
696
+ audio_input = gr.Audio(label="Input Audio", type="filepath", value="examples/audios/berry.wav")
697
 
698
 
699
  with gr.Column():
700
 
701
  output_video = gr.Video(label="Avatar", height=512)
702
+ num_steps = gr.Slider(4, 50, value=4, step=1, label="Steps")
703
  time_required = gr.Text(value="⌚ Zero GPU Required: --", show_label=False)
704
  infer_btn = gr.Button("🦜 Avatar Me", variant="primary")
705
+ text_input = gr.Textbox(label="Video Prompt", lines=6, value="A realistic video of a woman speaking and moving her head accordingly but without moving her hands.")
 
706
 
707
  with gr.Column():
708