wangfuyun commited on
Commit
fa0af54
·
verified ·
1 Parent(s): 823eab2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ class AnimateController:
196
  video_length=length_slider,
197
  ).videos
198
 
199
- pipeline.unet.load(original_state_dict)
200
  del original_state_dict
201
 
202
  save_sample_path = os.path.join(
 
196
  video_length=length_slider,
197
  ).videos
198
 
199
+ pipeline.unet.load_state_dict(original_state_dict)
200
  del original_state_dict
201
 
202
  save_sample_path = os.path.join(