nguyen-brat
commited on
Commit
·
0ad1f80
1
Parent(s):
2465ef1
update
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def GET_PROJECT_ROOT():
|
|
26 |
return project_root
|
27 |
|
28 |
def run_bash_script(input_image_path, output_path, progress_placeholder, status_text):
|
29 |
-
bash_command = f"bash
|
30 |
process = subprocess.Popen(bash_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
31 |
|
32 |
progress = 0
|
|
|
26 |
return project_root
|
27 |
|
28 |
def run_bash_script(input_image_path, output_path, progress_placeholder, status_text):
|
29 |
+
bash_command = f"bash config/text_detection.sh -s {input_image_path} -t {output_path}"
|
30 |
process = subprocess.Popen(bash_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
31 |
|
32 |
progress = 0
|