Update pipeline.py
Browse files- 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
|
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
|