Spaces:
Running
Running
stubborn-haha
commited on
Commit
·
d79e67e
1
Parent(s):
cc2d6df
restart
Browse files- app.py +1 -1
- requirements.txt +4 -1
app.py
CHANGED
@@ -71,7 +71,7 @@ interface = gr.Interface(
|
|
71 |
gr.Audio(sources=["microphone", "upload"], type="filepath", label="输入音频"),
|
72 |
],
|
73 |
outputs=gr.Textbox(label="转录结果"),
|
74 |
-
title="Whisper
|
75 |
description="上传音频文件或使用麦克风输入,进行语音转录。"
|
76 |
)
|
77 |
|
|
|
71 |
gr.Audio(sources=["microphone", "upload"], type="filepath", label="输入音频"),
|
72 |
],
|
73 |
outputs=gr.Textbox(label="转录结果"),
|
74 |
+
title="Whisper 潮汕话-正字 语音转录",
|
75 |
description="上传音频文件或使用麦克风输入,进行语音转录。"
|
76 |
)
|
77 |
|
requirements.txt
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
transformers>=4.39.3
|
2 |
torch
|
3 |
gradio
|
4 |
-
accelerate>=0.26.0
|
|
|
|
|
|
|
|
1 |
transformers>=4.39.3
|
2 |
torch
|
3 |
gradio
|
4 |
+
accelerate>=0.26.0
|
5 |
+
numpy>=1.23.1
|
6 |
+
soundfile>=0.12.1
|
7 |
+
librosa>=0.10.0
|