drewThomasson commited on
Commit
204a060
·
verified ·
1 Parent(s): 3b046eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,9 +13,9 @@ def process_ebook(ebook_file):
13
  ebook_file_path = os.path.join(input_dir, ebook_file.name)
14
  shutil.move(ebook_file.name, ebook_file_path)
15
 
16
- # Call your audiobook.py script and wait for it to finish
17
  try:
18
- result = subprocess.run(["python3", "audiobook.py"], capture_output=True, text=True)
19
  if result.returncode == 0:
20
  # Success message when the audiobook is ready
21
  return "Audiobook is ready! You can now download your files below."
 
13
  ebook_file_path = os.path.join(input_dir, ebook_file.name)
14
  shutil.move(ebook_file.name, ebook_file_path)
15
 
16
+ # Call the Auto_VoxNovel.py script and wait for it to finish
17
  try:
18
+ result = subprocess.run(["python3", "Auto_VoxNovel.py"], capture_output=True, text=True)
19
  if result.returncode == 0:
20
  # Success message when the audiobook is ready
21
  return "Audiobook is ready! You can now download your files below."