Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
from diffusers import DiffusionPipeline
|
3 |
import torch
|
4 |
|
5 |
-
|
6 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
7 |
-
|
8 |
|
9 |
def infer(prompt):
|
10 |
|
|
|
2 |
from diffusers import DiffusionPipeline
|
3 |
import torch
|
4 |
|
5 |
+
|
6 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
7 |
+
|
8 |
|
9 |
def infer(prompt):
|
10 |
|