Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ os.environ["OMP_NUM_THREADS"] = str(os.cpu_count())
|
|
9 |
torch.set_num_threads(os.cpu_count())
|
10 |
|
11 |
# Load models
|
12 |
-
model1 = StableDiffusionPipeline.from_pretrained("
|
13 |
model2 = StableDiffusionPipeline.from_pretrained("Purz/face-projection")
|
14 |
|
15 |
# Event to stop image generation
|
|
|
9 |
torch.set_num_threads(os.cpu_count())
|
10 |
|
11 |
# Load models
|
12 |
+
model1 = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
|
13 |
model2 = StableDiffusionPipeline.from_pretrained("Purz/face-projection")
|
14 |
|
15 |
# Event to stop image generation
|