ArkanDash commited on
Commit
068e4e6
1 Parent(s): f263171

feat: infer update

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -123,9 +123,10 @@ def create_vc_fn(model_name, tgt_sr, net_g, vc, if_f0, version, file_index):
123
  print(f"{model_name} | {info}")
124
  logs.append(f"Successfully Convert {model_name}\n{info}")
125
  yield "\n".join(logs), (tgt_sr, audio_opt)
126
- except:
127
  info = traceback.format_exc()
128
  print(info)
 
129
  yield info, None
130
  return vc_fn
131
 
 
123
  print(f"{model_name} | {info}")
124
  logs.append(f"Successfully Convert {model_name}\n{info}")
125
  yield "\n".join(logs), (tgt_sr, audio_opt)
126
+ except Exception as err:
127
  info = traceback.format_exc()
128
  print(info)
129
+ primt(f"Error when using {model_name}.\n{str(err)}")
130
  yield info, None
131
  return vc_fn
132