thmsbrd commited on
Commit
1bb4c4b
1 Parent(s): abbf325

Update app.py

Browse files

importing spaces before torch (not tested)

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import torch
2
  import torchvision.transforms.functional as TF
3
  import numpy as np
@@ -9,7 +11,6 @@ from diffusers.utils import load_image
9
  from diffusers import EulerDiscreteScheduler, T2IAdapter
10
 
11
  from huggingface_hub import hf_hub_download
12
- import spaces
13
  import gradio as gr
14
 
15
  from pipeline_t2i_adapter import PhotoMakerStableDiffusionXLAdapterPipeline
 
1
+ import spaces
2
+
3
  import torch
4
  import torchvision.transforms.functional as TF
5
  import numpy as np
 
11
  from diffusers import EulerDiscreteScheduler, T2IAdapter
12
 
13
  from huggingface_hub import hf_hub_download
 
14
  import gradio as gr
15
 
16
  from pipeline_t2i_adapter import PhotoMakerStableDiffusionXLAdapterPipeline