flosstradamus commited on
Commit
b13bd8f
·
1 Parent(s): 20f7ede

Update app_multi.py

Browse files
Files changed (1) hide show
  1. app_multi.py +1 -1
app_multi.py CHANGED
@@ -108,7 +108,7 @@ if 'config' in cpt:
108
  cpt['config'][-3] = cpt['weight']['emb_g.weight'].shape[0] # n_spk
109
  else:
110
  print(f"Warning: Model {model_name} does not have a 'config' key. Skipping this model.")
111
- continue
112
 
113
  if_f0 = cpt.get('f0', 1)
114
  # Check the dimension of the 'enc_p.emb_phone.weight' tensor
 
108
  cpt['config'][-3] = cpt['weight']['emb_g.weight'].shape[0] # n_spk
109
  else:
110
  print(f"Warning: Model {model_name} does not have a 'config' key. Skipping this model.")
111
+ pass # Using pass instead of continue
112
 
113
  if_f0 = cpt.get('f0', 1)
114
  # Check the dimension of the 'enc_p.emb_phone.weight' tensor