mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
fix lint
This commit is contained in:
@@ -58,10 +58,10 @@ def main():
|
||||
|
||||
try:
|
||||
model = CosyVoice(args.model_dir)
|
||||
except:
|
||||
except Exception:
|
||||
try:
|
||||
model = CosyVoice2(args.model_dir)
|
||||
except:
|
||||
except Exception:
|
||||
raise TypeError('no valid model_type!')
|
||||
|
||||
# 1. export flow decoder estimator
|
||||
|
||||
Reference in New Issue
Block a user