Spaces:
Running
on
Zero
Running
on
Zero
nroggendorff
commited on
Commit
•
6e8b2de
1
Parent(s):
738f211
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import spaces
|
|
4 |
import torch
|
5 |
from diffusers import StableDiffusionXLPipeline
|
6 |
|
7 |
-
pipeline = StableDiffusionXLPipeline.from_pretrained("nroggendorff/epicrealismxl").to("cuda")
|
8 |
|
9 |
@spaces.GPU
|
10 |
def generate(prompt, negative_prompt, width, height, sample_steps):
|
|
|
4 |
import torch
|
5 |
from diffusers import StableDiffusionXLPipeline
|
6 |
|
7 |
+
pipeline = StableDiffusionXLPipeline.from_pretrained("nroggendorff/epicrealismxl", cache_dir="modles").to("cuda")
|
8 |
|
9 |
@spaces.GPU
|
10 |
def generate(prompt, negative_prompt, width, height, sample_steps):
|