Spaces:
Sleeping
Sleeping
Commit
·
f01c786
1
Parent(s):
9ae455b
push
Browse files
backend/invoke_worker/chapter_queue.py
CHANGED
@@ -103,10 +103,10 @@ class Job(Thread):
|
|
103 |
script,
|
104 |
cwd=os.path.join(BASE_DIR, "backend", "module", "utils", "image_translator"),
|
105 |
shell=True,
|
106 |
-
check=True,
|
107 |
# stdout=file,
|
108 |
# stderr=file,
|
109 |
-
text=True,
|
110 |
)
|
111 |
if result.returncode != 0: raise Exception("Image Translator Execution error!")
|
112 |
os.makedirs(managed_output_dir,exist_ok=True)
|
|
|
103 |
script,
|
104 |
cwd=os.path.join(BASE_DIR, "backend", "module", "utils", "image_translator"),
|
105 |
shell=True,
|
106 |
+
# check=True,
|
107 |
# stdout=file,
|
108 |
# stderr=file,
|
109 |
+
# text=True,
|
110 |
)
|
111 |
if result.returncode != 0: raise Exception("Image Translator Execution error!")
|
112 |
os.makedirs(managed_output_dir,exist_ok=True)
|