FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.
Python ai-toolsai-video-editingasrauto-subtitleschinesecontent-creationfunasrfunclipgradiollmparaformerspeech-recognitionspeech-to-textsubtitles-generatortranscriptionvideo-editingvideo-processingvideo-subtitlesvideo-transcriptionwhisper-alternative
bug fix
维石ff6519d4ec84
diff --git a/funclip/videoclipper.py b/funclip/videoclipper.pyindex 0414a28..5781aa3 100644--- a/funclip/videoclipper.py+++ b/funclip/videoclipper.py@@ -234,6 +234,8 @@ class VideoClipper():for _ts in ts[1:]:start, end = _ts[0] / 16000, _ts[1] / 16000srt_clip, subs, srt_index = generate_srt_clip(sentences, start, end, begin_index=srt_index-1, time_acc_ost=time_acc_ost)+ if not len(subs):+ continuechi_subs = []sub_starts = subs[0][0][0]for sub in subs: