kevinwang676 commited on
Commit
90d557d
·
verified ·
1 Parent(s): 80a2de5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -49
app.py CHANGED
@@ -82,56 +82,15 @@ with gr.Blocks() as app:
82
  btn_post_model = gr.Button(value="开始上传吧💕", variant="primary")
83
  btn_post_model.click(fn=post_model, inputs=[post_name, post_model_url, post_version, post_creator], outputs=[post_output])
84
 
85
- # with gr.Column():
86
- # model_voice_path07 = gr.Dropdown(
87
- # label=i18n("RVC Model:"),
88
- # choices=sorted(names),
89
- # value=default_weight,
90
- # )
91
- # best_match_index_path1, _ = match_index(
92
- # model_voice_path07.value
93
- # )
94
-
95
- # file_index2_07 = gr.Dropdown(
96
- # label=i18n("Select the .index file:"),
97
- # choices=get_indexes(),
98
- # value=best_match_index_path1,
99
- # interactive=True,
100
- # allow_custom_value=True,
101
- # )
102
- # with gr.Row():
103
- # refresh_button_ = gr.Button(i18n("Refresh"), variant="primary")
104
- # refresh_button_.click(
105
- # fn=change_choices2,
106
- # inputs=[],
107
- # outputs=[model_voice_path07, file_index2_07],
108
- # )
109
- # with gr.Row():
110
- # original_ttsvoice = gr.Audio(label=i18n("Audio TTS:"))
111
- # ttsvoice = gr.Audio(label=i18n("Audio RVC:"))
112
-
113
- # with gr.Row():
114
- # button_test = gr.Button(i18n("Convert"), variant="primary")
115
-
116
- # button_test.click(
117
- # tts.use_tts,
118
- # inputs=[
119
- # text_test,
120
- # tts_test,
121
- # model_voice_path07,
122
- # file_index2_07,
123
- # # transpose_test,
124
- # vc_transform0,
125
- # f0method8,
126
- # index_rate1,
127
- # crepe_hop_length,
128
- # f0_autotune,
129
- # ttsmethod_test,
130
- # ],
131
- # outputs=[ttsvoice, original_ttsvoice],
132
- # )
133
-
134
  gr.Markdown(pic_markdown)
 
 
 
 
 
 
 
 
135
 
136
 
137
  app.queue(max_size=40, api_open=False)
 
82
  btn_post_model = gr.Button(value="开始上传吧💕", variant="primary")
83
  btn_post_model.click(fn=post_model, inputs=[post_name, post_model_url, post_version, post_creator], outputs=[post_output])
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  gr.Markdown(pic_markdown)
86
+ gr.Markdown("###### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。请自觉合规使用此程序,程序开发者不负有任何责任。</center>")
87
+
88
+ gr.HTML('''
89
+ <div class="footer">
90
+ <p>🌊🏞️🎶 - 江水东流急,滔滔无尽声。 明·顾璘
91
+ </p>
92
+ </div>
93
+ ''')
94
 
95
 
96
  app.queue(max_size=40, api_open=False)