jadechoghari
commited on
Commit
•
4bd156b
1
Parent(s):
99cd496
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -95,7 +95,7 @@ class MARModel(DiffusionPipeline):
|
|
95 |
cfg_scale = kwargs.get("cfg_scale", 4)
|
96 |
cfg_schedule = kwargs.get("cfg_schedule", "constant")
|
97 |
temperature = kwargs.get("temperature", 1.0)
|
98 |
-
class_labels = kwargs.get("class_labels", 207, 360, 388, 113, 355, 980, 323, 979)
|
99 |
|
100 |
# generate the tokens and images
|
101 |
with torch.cuda.amp.autocast():
|
|
|
95 |
cfg_scale = kwargs.get("cfg_scale", 4)
|
96 |
cfg_schedule = kwargs.get("cfg_schedule", "constant")
|
97 |
temperature = kwargs.get("temperature", 1.0)
|
98 |
+
class_labels = kwargs.get("class_labels", [207, 360, 388, 113, 355, 980, 323, 979])
|
99 |
|
100 |
# generate the tokens and images
|
101 |
with torch.cuda.amp.autocast():
|