zxsipola123456 commited on
Commit
53ce68f
·
verified ·
1 Parent(s): 337362a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,7 +100,7 @@ with app:
100
  inp_text = gr.Textbox(label="请填写您想生成的文本中英文皆可", placeholder="请输入ai生成的文案,不要超过300字,最好200字左右", lines=5)
101
  btn_text = gr.Button("一键生成音频", variant="primary")
102
  with gr.Column():
103
- inp1 = gr.Audio(type="filepath", label="OpenAI TTS真实拟声", interactive=False)
104
  inp2 = gr.Audio(type="filepath", label="请上传同文案参照音频,可自己读取同文案录音")
105
  btn1 = gr.Button("一键AI变声合成", variant="primary")
106
  with gr.Column():
@@ -120,7 +120,7 @@ with app:
120
  output_text = gr.Textbox(label="输出文本", visible=False)
121
  with gr.Row():
122
  with gr.Column():
123
- inp_vc = gr.Audio(type="filepath", label="请上传和文案相同参照音频,可自己读取文案录音或者用Openai-TTS同文案生成的音频")
124
  btn_vc = gr.Button("一键AI变声合成", variant="primary")
125
  with gr.Column():
126
  out_vc = gr.Audio(type="filepath", label="AI变声后的专属音频")
 
100
  inp_text = gr.Textbox(label="请填写您想生成的文本中英文皆可", placeholder="请输入ai生成的文案,不要超过300字,最好200字左右", lines=5)
101
  btn_text = gr.Button("一键生成音频", variant="primary")
102
  with gr.Column():
103
+ inp1 = gr.Audio(type="filepath", label="TTS真实拟声", interactive=False)
104
  inp2 = gr.Audio(type="filepath", label="请上传同文案参照音频,可自己读取同文案录音")
105
  btn1 = gr.Button("一键AI变声合成", variant="primary")
106
  with gr.Column():
 
120
  output_text = gr.Textbox(label="输出文本", visible=False)
121
  with gr.Row():
122
  with gr.Column():
123
+ inp_vc = gr.Audio(type="filepath", label="请上传和文案相同参照音频,可自己读取文案录音或者用TTS文本生语音同文案生成的音频")
124
  btn_vc = gr.Button("一键AI变声合成", variant="primary")
125
  with gr.Column():
126
  out_vc = gr.Audio(type="filepath", label="AI变声后的专属音频")