Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
3ad69a0
1
Parent(s):
9c44e81
Let's make sure it runs on GPU :-)
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ from diffusers import StableDiffusionPipeline
|
|
2 |
import gradio as gr
|
3 |
|
4 |
pipe = StableDiffusionPipeline.from_pretrained("nitrosocke/Arcane-Diffusion")
|
|
|
5 |
|
6 |
def inference(prompt, guidance, steps):
|
7 |
all_images = []
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
pipe = StableDiffusionPipeline.from_pretrained("nitrosocke/Arcane-Diffusion")
|
5 |
+
pipe = pipe.to("cuda")
|
6 |
|
7 |
def inference(prompt, guidance, steps):
|
8 |
all_images = []
|