drewThomasson commited on
Commit
60db0f0
1 Parent(s): b1d940d

Update Headless_VoxNovel.py

Browse files
Files changed (1) hide show
  1. Headless_VoxNovel.py +3 -1
Headless_VoxNovel.py CHANGED
@@ -421,7 +421,9 @@ import sys
421
  def process_file_headless():
422
  # Ask for the file path via command line
423
  while True:
424
- file_path = input("Enter the file path of the ebook: ")
 
 
425
 
426
  # Check if the file exists
427
  if os.path.isfile(file_path):
 
421
  def process_file_headless():
422
  # Ask for the file path via command line
423
  while True:
424
+ #file_path = input("Enter the file path of the ebook: ")
425
+ gradio_input_file = sys.argv[1]
426
+ file_path = gradio_input_file
427
 
428
  # Check if the file exists
429
  if os.path.isfile(file_path):