Spaces:
Runtime error
Runtime error
Songwei Ge
commited on
Commit
•
1ee21db
1
Parent(s):
61c1bd4
demo
Browse files
models/region_diffusion.py
CHANGED
@@ -28,7 +28,7 @@ class RegionDiffusion(nn.Module):
|
|
28 |
self.clip_gradient = False
|
29 |
|
30 |
print(f'[INFO] loading stable diffusion...')
|
31 |
-
local_pretrained_dir =
|
32 |
if not os.path.isdir(local_pretrained_dir):
|
33 |
save_pretrained = True
|
34 |
load_paths = 'runwayml/stable-diffusion-v1-5'
|
|
|
28 |
self.clip_gradient = False
|
29 |
|
30 |
print(f'[INFO] loading stable diffusion...')
|
31 |
+
local_pretrained_dir = "runwayml/stable-diffusion-v1-5"
|
32 |
if not os.path.isdir(local_pretrained_dir):
|
33 |
save_pretrained = True
|
34 |
load_paths = 'runwayml/stable-diffusion-v1-5'
|