bghira commited on
Commit
b981a30
1 Parent(s): 31ca678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"