Nick088 commited on
Commit
f65c37f
·
verified ·
1 Parent(s): 0c44b2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -335,7 +335,7 @@ def generate_subtitles(audio_file_path, prompt, language, auto_detect_language,
335
  ],
336
  check=True,
337
  )
338
- return None, output_file_path, None
339
  except subprocess.CalledProcessError as e:
340
  return None, None, gr.Error(f"Error during subtitle addition: {e}")
341
 
 
335
  ],
336
  check=True,
337
  )
338
+ return temp_srt_path, output_file_path, None
339
  except subprocess.CalledProcessError as e:
340
  return None, None, gr.Error(f"Error during subtitle addition: {e}")
341