Update app.py
#1
by
soiz1
- opened
app.py
CHANGED
@@ -19,7 +19,7 @@ def recognize_music(pdf_file):
|
|
19 |
output_file = output_dir + "/" + musicXml_file_name
|
20 |
|
21 |
cmd = [
|
22 |
-
audiveris, "-batch", "-export", "-output", output_dir, pdf_file_path
|
23 |
]
|
24 |
|
25 |
result = subprocess.run(cmd, capture_output=True, text=True)
|
|
|
19 |
output_file = output_dir + "/" + musicXml_file_name
|
20 |
|
21 |
cmd = [
|
22 |
+
audiveris, "-batch", "--add-opens java.base/java.nio=ALL-UNNAMED", "-export", "-output", output_dir, pdf_file_path
|
23 |
]
|
24 |
|
25 |
result = subprocess.run(cmd, capture_output=True, text=True)
|