Spaces:
Runtime error
Runtime error
fix: mkdir model
Browse files
setup.py
CHANGED
@@ -37,5 +37,7 @@ def download_anime2sketch_model():
|
|
37 |
|
38 |
|
39 |
def setup():
|
|
|
|
|
40 |
download_manga_line_extraction_model()
|
41 |
download_anime2sketch_model()
|
|
|
37 |
|
38 |
|
39 |
def setup():
|
40 |
+
if not os.path.exists("./models"):
|
41 |
+
os.makedirs("./models")
|
42 |
download_manga_line_extraction_model()
|
43 |
download_anime2sketch_model()
|