Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from transformers import CLIPModel, CLIPProcessor
|
|
12 |
from tools import synth
|
13 |
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
-
model_path = "
|
16 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-large-patch14").to(device)
|
17 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-large-patch14")
|
18 |
|
|
|
12 |
from tools import synth
|
13 |
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
+
model_path = "czl/stable-diffusion-v1-5"
|
16 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-large-patch14").to(device)
|
17 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-large-patch14")
|
18 |
|