Nick088 commited on
Commit
9543f75
1 Parent(s): cc11b93

fix zerogpu

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import torch
2
  from diffusers import StableDiffusion3Pipeline, StableDiffusionPipeline, StableDiffusionXLPipeline, DPMSolverSinglestepScheduler, StableCascadePriorPipeline, StableCascadeDecoderPipeline
3
  import gradio as gr
@@ -6,7 +7,7 @@ import random
6
  import numpy
7
  from PIL import Image
8
  import gc # free up memory
9
- import spaces
10
 
11
  HF_TOKEN = os.getenv("HF_TOKEN") # login with hf read token to access sd gated models
12
 
 
1
+ import spaces
2
  import torch
3
  from diffusers import StableDiffusion3Pipeline, StableDiffusionPipeline, StableDiffusionXLPipeline, DPMSolverSinglestepScheduler, StableCascadePriorPipeline, StableCascadeDecoderPipeline
4
  import gradio as gr
 
7
  import numpy
8
  from PIL import Image
9
  import gc # free up memory
10
+
11
 
12
  HF_TOKEN = os.getenv("HF_TOKEN") # login with hf read token to access sd gated models
13