Ketengan-Diffusion-Lab commited on
Commit
80995ef
·
verified ·
1 Parent(s): b3c9929

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from videocr import save_subtitles_to_file
6
  def run_video_ocr(input_video, output_file_name, language_code, use_gpu, start_time, end_time, confidence_threshold, similarity_threshold, frames_to_skip, crop_x, crop_y, crop_width, crop_height):
7
  try:
8
  # Ensure the output directory exists
9
- persistent_dir = '/persistent'
10
  if not os.path.exists(persistent_dir):
11
  os.makedirs(persistent_dir)
12
 
 
6
  def run_video_ocr(input_video, output_file_name, language_code, use_gpu, start_time, end_time, confidence_threshold, similarity_threshold, frames_to_skip, crop_x, crop_y, crop_width, crop_height):
7
  try:
8
  # Ensure the output directory exists
9
+ persistent_dir = '/data'
10
  if not os.path.exists(persistent_dir):
11
  os.makedirs(persistent_dir)
12