Spaces:
Sleeping
Sleeping
kevinwang676
commited on
Commit
•
f486ddb
1
Parent(s):
b9545e1
Update app.py
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ with gr.Blocks() as app:
|
|
254 |
with gr.Column():
|
255 |
inp0 = gr.Textbox(type='password', label='请输入您的OpenAI API Key')
|
256 |
inp1 = gr.File(file_count="single", label="请上传一集视频对应的SRT文件")
|
257 |
-
inp2 = gr.
|
258 |
inp3 = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='请选择一个说话人提供基础音色', info="试听音色链接:https://platform.openai.com/docs/guides/text-to-speech/voice-options", value='alloy')
|
259 |
inp4 = gr.Dropdown(label="请选择用于分离伴奏的模型", info="UVR-HP5去除背景音乐效果更好,但会对人声造成一定的损伤", choices=["UVR-HP2", "UVR-HP5"], value="UVR-HP5")
|
260 |
inp5 = gr.Checkbox(label="SRT文件是否为双语字幕", info="若为双语字幕,请打勾选择(SRT文件中需要先出现中文字幕,后英文字幕;中英字幕各占一行)")
|
|
|
254 |
with gr.Column():
|
255 |
inp0 = gr.Textbox(type='password', label='请输入您的OpenAI API Key')
|
256 |
inp1 = gr.File(file_count="single", label="请上传一集视频对应的SRT文件")
|
257 |
+
inp2 = gr.Audio(label="请上传一集视频的配音文件", info="需要是.wav或.mp3音频文件")
|
258 |
inp3 = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='请选择一个说话人提供基础音色', info="试听音色链接:https://platform.openai.com/docs/guides/text-to-speech/voice-options", value='alloy')
|
259 |
inp4 = gr.Dropdown(label="请选择用于分离伴奏的模型", info="UVR-HP5去除背景音乐效果更好,但会对人声造成一定的损伤", choices=["UVR-HP2", "UVR-HP5"], value="UVR-HP5")
|
260 |
inp5 = gr.Checkbox(label="SRT文件是否为双语字幕", info="若为双语字幕,请打勾选择(SRT文件中需要先出现中文字幕,后英文字幕;中英字幕各占一行)")
|