Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from diffusers import DiffusionPipeline
|
3 |
|
4 |
pipeline = DiffusionPipeline.from_pretrained("anton-l/ddpm-butterflies-128").to("cuda")
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
pipeline = DiffusionPipeline.from_pretrained("anton-l/ddpm-butterflies-128").to("cuda")
|