Spaces:
Running
Running
BloodyInside
commited on
Commit
•
7515752
1
Parent(s):
3b9b6f1
updated
Browse files
backend/invoke_worker/chapter_queue.py
CHANGED
@@ -20,6 +20,8 @@ env = environ.Env()
|
|
20 |
# os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
|
21 |
|
22 |
STORAGE_DIR = os.path.join(BASE_DIR,"storage")
|
|
|
|
|
23 |
LOG_DIR = os.path.join(BASE_DIR, "log")
|
24 |
if not os.path.exists(LOG_DIR): os.makedirs(LOG_DIR)
|
25 |
|
|
|
20 |
# os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
|
21 |
|
22 |
STORAGE_DIR = os.path.join(BASE_DIR,"storage")
|
23 |
+
if not os.path.exists(STORAGE_DIR): os.makedirs(STORAGE_DIR)
|
24 |
+
|
25 |
LOG_DIR = os.path.join(BASE_DIR, "log")
|
26 |
if not os.path.exists(LOG_DIR): os.makedirs(LOG_DIR)
|
27 |
|