Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
|
|
1 |
import torch
|
2 |
from diffusers import DiffusionPipeline
|
3 |
import gradio as gr
|
4 |
-
import spaces
|
5 |
|
6 |
# Load the pre-trained diffusion model
|
7 |
pipe = DiffusionPipeline.from_pretrained('ptx0/terminus-xl-velocity-v2', torch_dtype=torch.bfloat16)
|
|
|
1 |
+
import spaces
|
2 |
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
import gradio as gr
|
|
|
5 |
|
6 |
# Load the pre-trained diffusion model
|
7 |
pipe = DiffusionPipeline.from_pretrained('ptx0/terminus-xl-velocity-v2', torch_dtype=torch.bfloat16)
|