Spaces:
Sleeping
Sleeping
MODEL UPDATE
Browse files- app.py +3 -3
- logs/44k/D_205600.pth +3 -0
- logs/44k/G_205600.pth +3 -0
app.py
CHANGED
@@ -743,7 +743,7 @@ with app:
|
|
743 |
#with gr.Row():
|
744 |
# choice_ckpt = gr.Dropdown(label="模型选择", choices=ckpt_list, value="no_model")
|
745 |
# model_branch = gr.Textbox(label="模型编码器", placeholder="请先选择模型", interactive=False)
|
746 |
-
#choice_ckpt = gr.Dropdown(value="
|
747 |
#with gr.Row():
|
748 |
# config_choice = gr.Dropdown(label="配置文件", choices=config_list, value="no_config")
|
749 |
# config_info = gr.Textbox(label="配置文件编码器", placeholder="请选择配置文件")
|
@@ -770,7 +770,7 @@ with app:
|
|
770 |
sid = gr.Dropdown(value="1025", visible=False)
|
771 |
|
772 |
#choice_ckpt.change(get_model_info, [choice_ckpt], [model_branch])
|
773 |
-
model_branch = Newget_model_info("
|
774 |
#config_choice.change(load_json_encoder, [config_choice], [config_info])
|
775 |
#refresh.click(refresh_options,[],[choice_ckpt,config_choice,cluster_choice,diff_choice,diff_config_choice])
|
776 |
|
@@ -831,7 +831,7 @@ with app:
|
|
831 |
def Newvc_fn(sid, input_audio, vc_transform, auto_f0, cluster_ratio, slice_db, noise_scale, pad_seconds, cl_num, lg_num, lgr_num, f0_predictor, enhancer_adaptive_key, cr_threshold, k_step, use_spk_mix, second_encoding, loudness_envelope_adjustment, clus2):
|
832 |
global model, loaded
|
833 |
if loaded != clus2:
|
834 |
-
Newload_model_func("
|
835 |
loaded = clus2
|
836 |
try:
|
837 |
if input_audio is None:
|
|
|
743 |
#with gr.Row():
|
744 |
# choice_ckpt = gr.Dropdown(label="模型选择", choices=ckpt_list, value="no_model")
|
745 |
# model_branch = gr.Textbox(label="模型编码器", placeholder="请先选择模型", interactive=False)
|
746 |
+
#choice_ckpt = gr.Dropdown(value="G_205600.pth", visible=False)
|
747 |
#with gr.Row():
|
748 |
# config_choice = gr.Dropdown(label="配置文件", choices=config_list, value="no_config")
|
749 |
# config_info = gr.Textbox(label="配置文件编码器", placeholder="请选择配置文件")
|
|
|
770 |
sid = gr.Dropdown(value="1025", visible=False)
|
771 |
|
772 |
#choice_ckpt.change(get_model_info, [choice_ckpt], [model_branch])
|
773 |
+
model_branch = Newget_model_info("G_205600.pth")
|
774 |
#config_choice.change(load_json_encoder, [config_choice], [config_info])
|
775 |
#refresh.click(refresh_options,[],[choice_ckpt,config_choice,cluster_choice,diff_choice,diff_config_choice])
|
776 |
|
|
|
831 |
def Newvc_fn(sid, input_audio, vc_transform, auto_f0, cluster_ratio, slice_db, noise_scale, pad_seconds, cl_num, lg_num, lgr_num, f0_predictor, enhancer_adaptive_key, cr_threshold, k_step, use_spk_mix, second_encoding, loudness_envelope_adjustment, clus2):
|
832 |
global model, loaded
|
833 |
if loaded != clus2:
|
834 |
+
Newload_model_func("G_205600.pth",clus2,config_choice,enhance,diff_choice,diff_config_choice,only_diffusion,model_branch,using_device)
|
835 |
loaded = clus2
|
836 |
try:
|
837 |
if input_audio is None:
|
logs/44k/D_205600.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a2e084d3fcf29dab70ac1cc617a90dd2c87c02352d9c82fd2f72970dec0036c
|
3 |
+
size 561099143
|
logs/44k/G_205600.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e743e1a916a36fb5b6717065771fba344a80aac092740ca9d6fdb074ec10aac8
|
3 |
+
size 627915739
|