matthewkram commited on
Commit
e93faf1
·
verified ·
1 Parent(s): 1df20c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def app():
62
  - Motion Bucket ID: Controls motion amount (1-255, default 127).<br>
63
  - Noise Aug Strength: Adds noise for variation (0-1, default 0.02).
64
  </p>
65
- """) # Здесь закрываем строку правильно!
66
 
67
  with gr.Row():
68
  with gr.Column():
@@ -85,6 +85,8 @@ def app():
85
  outputs=[output_video, status]
86
  )
87
 
 
 
88
  def process(image, seed, num_frames, fps, decode_chunk_size, motion_bucket_id, noise_aug_strength):
89
  try:
90
  animator = WorldAnimate()
 
62
  - Motion Bucket ID: Controls motion amount (1-255, default 127).<br>
63
  - Noise Aug Strength: Adds noise for variation (0-1, default 0.02).
64
  </p>
65
+ """)
66
 
67
  with gr.Row():
68
  with gr.Column():
 
85
  outputs=[output_video, status]
86
  )
87
 
88
+ return demo # Важно: возвращаем demo!
89
+
90
  def process(image, seed, num_frames, fps, decode_chunk_size, motion_bucket_id, noise_aug_strength):
91
  try:
92
  animator = WorldAnimate()