mirror of https://github.com/coqui-ai/TTS.git
chore(server): remove duplicate code
This commit is contained in:
parent
70bd84894d
commit
8503500d9d
|
@ -74,10 +74,6 @@ args = create_argparser().parse_args()
|
||||||
path = Path(__file__).parent / "../.models.json"
|
path = Path(__file__).parent / "../.models.json"
|
||||||
manager = ModelManager(path)
|
manager = ModelManager(path)
|
||||||
|
|
||||||
if args.list_models:
|
|
||||||
manager.list_models()
|
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
# update in-use models to the specified released models.
|
# update in-use models to the specified released models.
|
||||||
model_path = None
|
model_path = None
|
||||||
config_path = None
|
config_path = None
|
||||||
|
|
Loading…
Reference in New Issue