Commit
•
f9756f1
1
Parent(s):
a6b8e17
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,7 @@ from PIL import Image
|
|
7 |
import random
|
8 |
|
9 |
model_id = 'https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-2'
|
10 |
-
|
11 |
-
transformers.utils.move_cache()
|
12 |
scheduler = EulerAncestralDiscreteScheduler(prediction_type="v_prediction") # .from_pretrained(model_id) # , subfolder="scheduler"
|
13 |
feature_extractor = CLIPImageProcessor() # .from_pretrained(model_id)
|
14 |
|
|
|
7 |
import random
|
8 |
|
9 |
model_id = 'https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-2'
|
10 |
+
|
|
|
11 |
scheduler = EulerAncestralDiscreteScheduler(prediction_type="v_prediction") # .from_pretrained(model_id) # , subfolder="scheduler"
|
12 |
feature_extractor = CLIPImageProcessor() # .from_pretrained(model_id)
|
13 |
|