Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
-
pipeline = DiffusionPipeline.from_pretrained("anton-l/ddpm-butterflies-128")
|
6 |
|
7 |
def diffusion():
|
8 |
images = []
|
|
|
2 |
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
+
pipeline = DiffusionPipeline.from_pretrained("anton-l/ddpm-butterflies-128", use_safetensors=True)
|
6 |
|
7 |
def diffusion():
|
8 |
images = []
|