Spaces:
Runtime error
Runtime error
Let's make sure it runs on GPU :-)
#3
by
patrickvonplaten
- opened
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 = []
|