Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
|
|
1 |
import torch
|
2 |
from pipeline import PixArtSigmaPipeline
|
3 |
from diffusers.models import PixArtTransformer2DModel
|
4 |
import gradio as gr
|
5 |
-
import spaces
|
6 |
|
7 |
# Load the pre-trained diffusion model
|
8 |
base_model = "ptx0/pixart-900m-1024-ft-v0.7-stage1"
|
|
|
1 |
+
import spaces
|
2 |
+
|
3 |
import torch
|
4 |
from pipeline import PixArtSigmaPipeline
|
5 |
from diffusers.models import PixArtTransformer2DModel
|
6 |
import gradio as gr
|
|
|
7 |
|
8 |
# Load the pre-trained diffusion model
|
9 |
base_model = "ptx0/pixart-900m-1024-ft-v0.7-stage1"
|