bglick13 commited on
Commit
91b35b4
1 Parent(s): 5b50f41

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -7,7 +7,7 @@ from diffusers.utils.dummy_pt_objects import DDPMScheduler
7
 
8
 
9
  class ValueGuidedDiffuserPipeline(DiffusionPipeline):
10
- def __init__(self, value_function: UNet1DModel, unet: UNet1DModel, scheduler: DDPMScheduler, env, *args, **kwargs):
11
  super().__init__(*args, **kwargs)
12
  self.value_function = value_function
13
  self.unet = unet
 
7
 
8
 
9
  class ValueGuidedDiffuserPipeline(DiffusionPipeline):
10
+ def __init__(self, value_function: UNet1DModel, unet: UNet1DModel, scheduler: DDPMScheduler, env):
11
  super().__init__(*args, **kwargs)
12
  self.value_function = value_function
13
  self.unet = unet