Spaces:
Sleeping
Sleeping
Commit
·
234af01
1
Parent(s):
ae35b0a
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,7 @@ if mps_available:
|
|
35 |
torch_device = "cpu"
|
36 |
torch_dtype = torch.float32
|
37 |
|
|
|
38 |
scheduler = EulerDiscreteScheduler.from_pretrained(repo_id, subfolder="scheduler")
|
39 |
t2i_pipe = StableDiffusionPipeline.from_single_file(
|
40 |
"https://huggingface.co/wanghuging/skin_demo/blob/main/skin_demo.safetensors",
|
|
|
35 |
torch_device = "cpu"
|
36 |
torch_dtype = torch.float32
|
37 |
|
38 |
+
repo_id = "runwayml/stable-diffusion-v1-5"
|
39 |
scheduler = EulerDiscreteScheduler.from_pretrained(repo_id, subfolder="scheduler")
|
40 |
t2i_pipe = StableDiffusionPipeline.from_single_file(
|
41 |
"https://huggingface.co/wanghuging/skin_demo/blob/main/skin_demo.safetensors",
|