Spaces:
Paused
Paused
Update app.py
Browse files
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
|
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 |
|