hzrr commited on
Commit
66a8b81
·
1 Parent(s): 266fd23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"configs/{config_name}")
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