Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import spaces
|
2 |
from diffusers import DiffusionPipeline
|
|
|
|
|
3 |
|
4 |
pipe = DiffusionPipeline.from_pretrained("Fucius/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16")
|
5 |
pipe.to('cuda')
|
|
|
1 |
import spaces
|
2 |
from diffusers import DiffusionPipeline
|
3 |
+
import torch
|
4 |
+
import gradio as gr
|
5 |
|
6 |
pipe = DiffusionPipeline.from_pretrained("Fucius/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16")
|
7 |
pipe.to('cuda')
|