Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7fbd66e
1
Parent(s):
6e8b2de
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"
|
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").to("cuda")
|
8 |
|
9 |
@spaces.GPU
|
10 |
def generate(prompt, negative_prompt, width, height, sample_steps):
|