jbilcke-hf HF staff commited on
Commit
97a4a3d
·
verified ·
1 Parent(s): 4b097c0

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +4 -1
handler.py CHANGED
@@ -167,7 +167,10 @@ class EndpointHandler:
167
  with torch.inference_mode():
168
  output = self.pipeline(
169
  prompt=config.prompt,
170
- negative_prompt=config.negative_prompt,
 
 
 
171
  num_frames=config.num_frames,
172
  height=config.height,
173
  width=config.width,
 
167
  with torch.inference_mode():
168
  output = self.pipeline(
169
  prompt=config.prompt,
170
+
171
+ # Failed to generate video: HunyuanVideoPipeline.__call__() got an unexpected keyword argument 'negative_prompt'
172
+ #negative_prompt=config.negative_prompt,
173
+
174
  num_frames=config.num_frames,
175
  height=config.height,
176
  width=config.width,