Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ convert_cnt = [0]
|
|
10 |
dev = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
11 |
model_name = "1121_epochs.pth"
|
12 |
config_name = "config.json"
|
13 |
-
net_g_ms, hubert_soft, feature_input, hps_ms = infer_tool.load_model(f"{model_name}", f"
|
14 |
|
15 |
# 获取config参数
|
16 |
target_sample = hps_ms.data.sampling_rate
|
|
|
10 |
dev = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
11 |
model_name = "1121_epochs.pth"
|
12 |
config_name = "config.json"
|
13 |
+
net_g_ms, hubert_soft, feature_input, hps_ms = infer_tool.load_model(f"{model_name}", f"{config_name}")
|
14 |
|
15 |
# 获取config参数
|
16 |
target_sample = hps_ms.data.sampling_rate
|