Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ os.system(
|
|
8 |
|
9 |
|
10 |
def inference(img):
|
11 |
-
os.system('mkdir test')
|
|
|
12 |
basewidth = 512
|
13 |
wpercent = (basewidth / float(img.size[0]))
|
14 |
hsize = int((float(img.size[1]) * float(wpercent)))
|
|
|
8 |
|
9 |
|
10 |
def inference(img):
|
11 |
+
# os.system('mkdir test')
|
12 |
+
os.makedirs("./test", exist_ok=True)
|
13 |
basewidth = 512
|
14 |
wpercent = (basewidth / float(img.size[0]))
|
15 |
hsize = int((float(img.size[1]) * float(wpercent)))
|