seagullOk commited on
Commit
4a73a67
·
verified ·
1 Parent(s): 87db09e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md CHANGED
@@ -10,3 +10,25 @@ pinned: false
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
13
+
14
+ # Whisper 长音频转录 Gradio 应用
15
+
16
+ ## 介绍
17
+ 这是一个基于 OpenAI Whisper API 的长音频自动分段转录工具,支持时间戳并导出 .srt 字幕文件。
18
+
19
+ ## 运行环境
20
+ - Python 3.8+
21
+ - 依赖见 requirements.txt
22
+
23
+ ## 使用说明
24
+ 1. 上传音频文件(支持 mp3, wav, m4a 等)
25
+ 2. 系统自动将音频按 5 分钟切片,调用 Whisper API 逐段转录
26
+ 3. 返回完整转录文本和带时间戳的字幕文件
27
+
28
+ ## 部署到 Hugging Face Spaces
29
+ 1. 创建 Hugging Face 账号
30
+ 2. 新建 Space,选择 Gradio 模板
31
+ 3. 上传代码文件 `app.py` 和 `requirements.txt`
32
+ 4. 在 Space 设置中添加环境变量 `OPENAI_API_KEY`
33
+ 5. 启动 Space,访问自动生成的链接
34
+