Skip to content

FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.

bug fix

钟志权e15387f893b6
diff --git a/funclip/launch.py b/funclip/launch.py
index a669b2d..61fefcb 100644
--- a/funclip/launch.py
+++ b/funclip/launch.py
@@ -92,7 +92,7 @@ if __name__ == "__main__":
def llm_inference(system_content, user_content, srt_text, model, apikey):
SUPPORT_LLM_PREFIX = ['qwen', 'gpt', 'g4f', 'moonshot']
if model.startswith('qwen'):
- return call_qwen_model(apikey, model, system_content, user_content+'\n'+srt_text)
+ return call_qwen_model(apikey, model, user_content+'\n'+srt_text, system_content)
if model.startswith('gpt') or model.startswith('moonshot'):
return openai_call(apikey, model, system_content, user_content+'\n'+srt_text)
elif model.startswith('g4f'):