docs: align Space copy with deployed workflow

#1
by langgz - opened
Files changed (2) hide show
  1. README.md +11 -9
  2. app.py +5 -5
README.md CHANGED
@@ -8,19 +8,21 @@ sdk_version: 5.50.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
- short_description: "AI Video Clipping: speak to clip, powered by FunASR + LLM"
12
  ---
13
 
14
- # FunClip: AI-Powered Video Clipping
15
 
16
- Upload a video → FunASR transcribes all speech with timestamps → Select segments by text → Export precise clips automatically.
17
 
18
- ## Features
19
- - 🎬 Automatic speech-to-text with word-level timestamps
20
- - ✂️ Click on any sentence to create a clip
21
- - 🤖 LLM-assisted smart clipping (find highlights automatically)
22
- - 🌍 Multi-language support (Chinese, English, Japanese, Korean, etc.)
 
 
23
 
24
  ## Links
25
- - **GitHub**: [FunClip](https://github.com/modelscope/FunClip) (⭐ 5.6k+)
26
  - **ASR Engine**: [FunASR](https://github.com/modelscope/FunASR) | [Fun-ASR](https://github.com/FunAudioLLM/Fun-ASR)
 
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
+ short_description: "Chinese sentence-based video clipping with FunASR"
12
  ---
13
 
14
+ # FunClip: ASR-Guided Video Clipping
15
 
16
+ Upload a Chinese-language video → FunASR Paraformer transcribes it with sentence-level timestamps → Select one or more sentences → Export the selected segments as a clip.
17
 
18
+ ## What This Space Does
19
+ - Transcribes Chinese speech with FunASR Paraformer on CPU
20
+ - Returns sentence-level timestamps for each recognized segment
21
+ - Lets you select and concatenate one or more sentences
22
+ - Exports the result as an MP4 with FFmpeg
23
+
24
+ Short videos provide the best interactive experience on the shared CPU runtime. For multilingual ASR and LLM-assisted smart clipping, install the full [FunClip](https://github.com/modelscope/FunClip) app locally.
25
 
26
  ## Links
27
+ - **GitHub**: [Star the FunClip repository](https://github.com/modelscope/FunClip)
28
  - **ASR Engine**: [FunASR](https://github.com/modelscope/FunASR) | [Fun-ASR](https://github.com/FunAudioLLM/Fun-ASR)
app.py CHANGED
@@ -131,12 +131,12 @@ def clip_video(video_path, sentences_json, selected_indices):
131
  description_html = """
132
  <div style="text-align: center; max-width: 850px; margin: 0 auto;">
133
  <h1 style="font-size: 2.2em; margin-bottom: 0.1em;">✂️ FunClip</h1>
134
- <p style="font-size: 1.3em; color: #444;">AI Video Clipping Speak to Clip</p>
135
  <p style="font-size: 1em; color: #666;">
136
- Upload a video → Auto-transcribe with timestamps → Select text segments → Export precise clips
137
  </p>
138
  <p style="font-size: 0.9em; margin-top: 0.8em;">
139
- <a href="https://github.com/modelscope/FunClip" target="_blank">⭐ GitHub (5.6k+ stars)</a> ·
140
  <a href="https://github.com/modelscope/FunASR" target="_blank">🛠️ FunASR</a> ·
141
  <a href="https://github.com/FunAudioLLM/Fun-ASR" target="_blank">🚀 Fun-ASR</a>
142
  </p>
@@ -146,11 +146,11 @@ description_html = """
146
  how_it_works = """
147
  ### How It Works
148
  1. **Upload** a video (any format with audio)
149
- 2. **Transcribe** — FunASR extracts speech with precise timestamps
150
  3. **Select** the sentences you want to keep (by index)
151
  4. **Clip** — FFmpeg cuts and concatenates the selected segments
152
 
153
- For the full experience with LLM-assisted smart clipping, install [FunClip](https://github.com/modelscope/FunClip) locally.
154
  """
155
 
156
 
 
131
  description_html = """
132
  <div style="text-align: center; max-width: 850px; margin: 0 auto;">
133
  <h1 style="font-size: 2.2em; margin-bottom: 0.1em;">✂️ FunClip</h1>
134
+ <p style="font-size: 1.3em; color: #444;">Chinese Video Clipping with FunASR</p>
135
  <p style="font-size: 1em; color: #666;">
136
+ Upload a Chinese-language video → Transcribe with sentence-level timestamps → Select segments → Export a clip
137
  </p>
138
  <p style="font-size: 0.9em; margin-top: 0.8em;">
139
+ <a href="https://github.com/modelscope/FunClip" target="_blank">⭐ Star FunClip on GitHub</a> ·
140
  <a href="https://github.com/modelscope/FunASR" target="_blank">🛠️ FunASR</a> ·
141
  <a href="https://github.com/FunAudioLLM/Fun-ASR" target="_blank">🚀 Fun-ASR</a>
142
  </p>
 
146
  how_it_works = """
147
  ### How It Works
148
  1. **Upload** a video (any format with audio)
149
+ 2. **Transcribe** — Chinese Paraformer ASR adds sentence-level timestamps
150
  3. **Select** the sentences you want to keep (by index)
151
  4. **Clip** — FFmpeg cuts and concatenates the selected segments
152
 
153
+ For multilingual ASR and LLM-assisted smart clipping, install the full [FunClip](https://github.com/modelscope/FunClip) app locally.
154
  """
155
 
156