Light-yzc

Results issues of Light-yzc

ERR:

1 comment

Environment Missing! ![屏幕截图 2023-07-27 091341](https://github.com/magenta/mt3/assets/61189042/655ba7ea-b495-42a8-9080-eb123f8849a9)

我用 readme 的示例代码尝试加载模型时出现: --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [/tmp/ipython-input-769196332.py](https://localhost:8080/#) in () 284 285 model_path = "Dream-org/Dream-v0-Instruct-7B" --> 286 model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True) 287 tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)...

### Custom Node Testing - [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help) ### Expected Behavior...

Potential Bug

--- 问题出现在TTS.py里。 `version = configs.get("version", "v2ProPlus").lower()`这行代码取得的是version的小写,当版本为`"v2Pro", "v2ProPlus"`时候会导致底下`assert version in ["v1", "v2", "v3", "v4", "v2Pro", "v2ProPlus"]`失败。 --- 当我移除lower后v2Pro或者v2ProPlus貌似就能成功调用了