Amphion icon indicating copy to clipboard operation
Amphion copied to clipboard

Fix langid to py3langid

Open upskyy opened this issue 10 months ago • 0 comments

✨ Description

When using metis, an error occurs saying that langid cannot be imported. I fix langid to py3langid as langid.

https://github.com/open-mmlab/Amphion/blob/main/models/tts/metis/metis.py#L21

🚧 Related Issues

[List the issue numbers related to this PR]

👨‍💻 Changes Proposed

  • [ ] change1
  • [ ] ...

🧑‍🤝‍🧑 Who Can Review?

[Please use the '@' symbol to mention any community member who is free to review the PR once the tests have passed. Feel free to tag members or contributors who might be interested in your PR.]

🛠 TODO

  • [ ] task1
  • [ ] ...

✅ Checklist

  • [ ] Code has been reviewed
  • [ ] Code complies with the project's code standards and best practices
  • [ ] Code has passed all tests
  • [ ] Code does not affect the normal use of existing features
  • [ ] Code has been commented properly
  • [ ] Documentation has been updated (if applicable)
  • [ ] Demo/checkpoint has been attached (if applicable)

upskyy avatar Feb 28 '25 07:02 upskyy