Spaces:
Runtime error
Runtime error
jiayueru
commited on
Commit
β’
8453b06
1
Parent(s):
8de9bf3
Files
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
|
6 |
from diffusers import DiffusionPipeline
|
7 |
|
8 |
-
pipe = DiffusionPipeline.from_pretrained(
|
9 |
pipe.to('cuda')
|
10 |
|
11 |
@spaces.GPU
|
|
|
5 |
|
6 |
from diffusers import DiffusionPipeline
|
7 |
|
8 |
+
pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
|
9 |
pipe.to('cuda')
|
10 |
|
11 |
@spaces.GPU
|