We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1230a1d commit 9f31095Copy full SHA for 9f31095
colab.py
@@ -110,7 +110,7 @@ def init(ModelName, debug=False):
110
else:
111
pipeline = StableDiffusionPipeline.from_pretrained(model_name, torch_dtype=torch.float16).to("cuda:0")
112
#print ("Before: ", pipeline.tokenizer.model_max_length)
113
- pipeline = modify_clip_limit(512)
+ #pipeline = modify_clip_limit(512)
114
#print ("After: ", pipeline.tokenizer.model_max_length)
115
patcher.patch(pipeline)
116
text2img = pipeline
0 commit comments