niulx commited on
Commit
e9320c7
1 Parent(s): 18fd109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1,9 +1,6 @@
1
  import os
2
- # os.system("pip uninstall -y gradio")
3
- # os.system("pip install gradio==3.41.0")
4
- # os.system("pip install torch==2.1.0")
5
- import os
6
  import copy
 
7
  from PIL import Image
8
  import matplotlib
9
  import numpy as np
@@ -15,7 +12,6 @@ from PIL import Image
15
  from functools import partial
16
  from main import run_main
17
  import time
18
- import spaces
19
 
20
  LENGTH=512 #length of the square area displaying/editing images
21
  TRANSPARENCY = 150 # transparency of the mask in display
 
1
  import os
 
 
 
 
2
  import copy
3
+ import spaces
4
  from PIL import Image
5
  import matplotlib
6
  import numpy as np
 
12
  from functools import partial
13
  from main import run_main
14
  import time
 
15
 
16
  LENGTH=512 #length of the square area displaying/editing images
17
  TRANSPARENCY = 150 # transparency of the mask in display