Spaces:
Runtime error
Runtime error
nroggendorff
commited on
Commit
•
cb4f830
1
Parent(s):
b89dafc
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
import spaces
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
-
@spaces.GPU
|
6 |
def generate_image(steps):
|
7 |
pipeline = DiffusionPipeline.from_pretrained("nroggendorff/cats", use_safetensors=True)
|
8 |
pipe = pipeline#.to("cuda")
|
|
|
1 |
import gradio as gr
|
|
|
2 |
from diffusers import DiffusionPipeline
|
3 |
|
|
|
4 |
def generate_image(steps):
|
5 |
pipeline = DiffusionPipeline.from_pretrained("nroggendorff/cats", use_safetensors=True)
|
6 |
pipe = pipeline#.to("cuda")
|