Skip to content

Commit 9f31095

Browse files
committed
Update colab.py
1 parent 1230a1d commit 9f31095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def init(ModelName, debug=False):
110110
else:
111111
pipeline = StableDiffusionPipeline.from_pretrained(model_name, torch_dtype=torch.float16).to("cuda:0")
112112
#print ("Before: ", pipeline.tokenizer.model_max_length)
113-
pipeline = modify_clip_limit(512)
113+
#pipeline = modify_clip_limit(512)
114114
#print ("After: ", pipeline.tokenizer.model_max_length)
115115
patcher.patch(pipeline)
116116
text2img = pipeline

0 commit comments

Comments
 (0)