It seems that spaces should be imported first

#2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  import sys
3
  from utils import load_lora_model
@@ -5,7 +6,6 @@ from bg_alpha import adjust_transparency
5
  from lineart import get_pipe
6
  import os
7
  from PIL import Image
8
- import spaces
9
 
10
  path = os.getcwd()
11
  output_dir = f"{path}/output"
 
1
+ import spaces
2
  import gradio as gr
3
  import sys
4
  from utils import load_lora_model
 
6
  from lineart import get_pipe
7
  import os
8
  from PIL import Image
 
9
 
10
  path = os.getcwd()
11
  output_dir = f"{path}/output"