ozipoetra
commited on
Commit
·
91ee2f5
1
Parent(s):
2d91d4f
des
Browse files
app.py
CHANGED
@@ -251,7 +251,7 @@ if __name__ == '__main__':
|
|
251 |
with gr.Blocks() as app:
|
252 |
gr.Markdown(
|
253 |
"<div align='center'>\n\n"+
|
254 |
-
"<h1>
|
255 |
"</div>"
|
256 |
)
|
257 |
if categories == []:
|
@@ -275,7 +275,7 @@ if __name__ == '__main__':
|
|
275 |
gr.Markdown(
|
276 |
'<div align="center">'
|
277 |
f'<div>{title}</div>\n'+
|
278 |
-
f'<div>
|
279 |
(f'<div>Model author: {author}</div>' if author else "")+
|
280 |
(f'<img style="width:auto;height:300px;" src="file/{cover}">' if cover else "")+
|
281 |
'</div>'
|
@@ -285,7 +285,7 @@ if __name__ == '__main__':
|
|
285 |
with gr.TabItem("Input"):
|
286 |
with gr.Row():
|
287 |
with gr.Column():
|
288 |
-
vc_audio_mode = gr.Dropdown(label="Input voice", choices=audio_mode, allow_custom_value=False, value="Upload audio")
|
289 |
# Input
|
290 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
291 |
# Upload
|
@@ -313,7 +313,7 @@ if __name__ == '__main__':
|
|
313 |
label="Pitch extraction algorithm",
|
314 |
info=f0method_info,
|
315 |
choices=f0method_mode,
|
316 |
-
value="
|
317 |
interactive=True
|
318 |
)
|
319 |
index_rate1 = gr.Slider(
|
|
|
251 |
with gr.Blocks() as app:
|
252 |
gr.Markdown(
|
253 |
"<div align='center'>\n\n"+
|
254 |
+
"<h1>VC KucingPoi</h1>\n\n"+
|
255 |
"</div>"
|
256 |
)
|
257 |
if categories == []:
|
|
|
275 |
gr.Markdown(
|
276 |
'<div align="center">'
|
277 |
f'<div>{title}</div>\n'+
|
278 |
+
f'<div>{model_version} Model</div>\n'+
|
279 |
(f'<div>Model author: {author}</div>' if author else "")+
|
280 |
(f'<img style="width:auto;height:300px;" src="file/{cover}">' if cover else "")+
|
281 |
'</div>'
|
|
|
285 |
with gr.TabItem("Input"):
|
286 |
with gr.Row():
|
287 |
with gr.Column():
|
288 |
+
vc_audio_mode = gr.Dropdown(label="Input voice (60s max)", choices=audio_mode, allow_custom_value=False, value="Upload audio")
|
289 |
# Input
|
290 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
291 |
# Upload
|
|
|
313 |
label="Pitch extraction algorithm",
|
314 |
info=f0method_info,
|
315 |
choices=f0method_mode,
|
316 |
+
value="rmvpe",
|
317 |
interactive=True
|
318 |
)
|
319 |
index_rate1 = gr.Slider(
|