Snow-White-995 commited on
Commit
f584511
1 Parent(s): 3455f74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -111,8 +111,11 @@ def main():
111
 
112
  speaker_ids = hps.data.spk2id
113
  speakers = list(speaker_ids.keys())
114
- languages = ["普通话", "上海话"]
115
  with gr.Blocks() as app:
 
 
 
116
  with gr.Row():
117
  with gr.Column():
118
  text = gr.TextArea(
@@ -139,6 +142,9 @@ def main():
139
  submit_btn = gr.Button("生成音频", variant="primary")
140
  text_output = gr.Textbox(label="状态")
141
  audio_output = gr.Audio(label="音频")
 
 
 
142
  submit_btn.click(
143
  tts_fn,
144
  inputs=[
 
111
 
112
  speaker_ids = hps.data.spk2id
113
  speakers = list(speaker_ids.keys())
114
+ languages = ["上海话", "普通话"]
115
  with gr.Blocks() as app:
116
+ with gr.Row():
117
+ with gr.Column():
118
+ gr.Markdown('# Bert-VITS2-Shanghainese')
119
  with gr.Row():
120
  with gr.Column():
121
  text = gr.TextArea(
 
142
  submit_btn = gr.Button("生成音频", variant="primary")
143
  text_output = gr.Textbox(label="状态")
144
  audio_output = gr.Audio(label="音频")
145
+ with gr.Row():
146
+ with gr.Column():
147
+ gr.Markdown('### Thanks <a href="https://github.com/fishaudio/Bert-VITS2" target="_blank">github@Bert-VITS2</a>')
148
  submit_btn.click(
149
  tts_fn,
150
  inputs=[