Skip to content

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

update requirements

维石10f944ce8df7
diff --git a/README.md b/README.md
index 56b1f01..dbd5396 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# FunClip🎥
-## ([简体中文](./README_zh.md)|English)
+## 「[简体中文](./README_zh.md) | English」
FunClip is a fully open-source, locally deployed automated video editing tool. It leverages Alibaba DAMO Academy's open-source [FunASR](https://github.com/alibaba-damo-academy/FunASR) Paraformer series models to perform speech recognition on videos. Then, users can freely choose text segments or speakers from the recognition results and click the trim button to obtain the video corresponding to the selected segments ([Quick Experience](https://modelscope.cn/studios/iic/funasr_app_clipvideo/summary)).
@@ -26,12 +26,8 @@ You're welcome to try it out, and we look forward to any requests and valuable s
#### Python env install
```shell
-# install funasr and modelscope
-pip install -U funasr modelscope
-# install python dependencies
+# install Python requirments
pip install -r ./requirments.txt
-# install torch and torchaudio based on your CUDA and python version
-pip install torch==xxx torchaudio==xxx
```
#### imagemagick install (Optional)
diff --git a/README_zh.md b/README_zh.md
index cc9a49c..af6ca62 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -1,6 +1,6 @@
# FunClip🎥
-## (简体中文|[English](./README.md))
+## 「简体中文 | [English](./README.md)」
FunClip是一款完全开源、本地部署的自动化视频剪辑工具,通过调用阿里巴巴通义实验室开源的[FunASR](https://github.com/alibaba-damo-academy/FunASR) Paraformer系列模型进行视频的语音识别,随后用户可以自由选择识别结果中的文本片段或说话人,点击裁剪按钮即可获取对应片段的视频([快速体验](https://modelscope.cn/studios/iic/funasr_app_clipvideo/summary))。
@@ -24,12 +24,8 @@ FunClip是一款完全开源、本地部署的自动化视频剪辑工具,通
#### Python环境安装
```shell
-# 安装FunASR
-pip install -U funasr modelscope
-# 安装FunClip的Python依赖
+# 安装相关Python依赖
pip install -r ./requirments.txt
-# 根据你的环境(CUDA,Python版本等)安装torch和torchaudio
-pip install torch==xxx torchaudio==xxx
```
#### 安装imagemagick(可选)
diff --git a/requirments.txt b/requirments.txt
index a9bf0e0..c6d7d69 100644
--- a/requirments.txt
+++ b/requirments.txt
@@ -1,7 +1,9 @@
librosa
soundfile
-funasr>=1.0.19
+funasr>=1.0.24
moviepy
numpy
gradio
-modelscope
\ No newline at end of file
+modelscope
+torch>=1.13
+torchaudio
\ No newline at end of file