Skip to content

Namespace object has not the attribute "cosyvoice_path" #13

Description

@martin-studna

There is an issue: Namespace does not have the attribute cosyvoice_path.

python -m mgm.serve.cli_tts --model wcy1122/MGM-Omni-TTS-2B-0927 --ref-audio assets/ref_audio/Man_EN.wav
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/martin/MGM-Omni/mgm/serve/cli_tts.py", line 116, in <module>
    main(args)
  File "/home/ubuntu/martin/MGM-Omni/mgm/serve/cli_tts.py", line 33, in main
    cosyvoice_path=args.cosyvoice_path)
AttributeError: 'Namespace' object has no attribute 'cosyvoice_path'
 tokenizer, model = load_pretrained_model(
        model_path, args.load_8bit, args.load_4bit, device=args.device,
        cosyvoice_path=args.cosyvoice_path)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions