Git Product home page Git Product logo

Comments (3)

eginhard avatar eginhard commented on August 13, 2024 1

@jessebot Thanks for the feedback, glad you got it working! Not sure how you set up the poetry env, but I moved a bunch of dependencies, including bangla, into optional extras for 0.24.0. So on the dev branch it already wasn't listed as required anymore before the release, which might have caused the issue. The new warnings are from third-party code, so we can't do anything about them.

from coqui-ai-tts.

jessebot avatar jessebot commented on August 13, 2024

looks like there was an issue with my poetry environment being weird. Now, after updating again to 0.24.1, the only weird thing I get is this when I run python thing.py (with only from TTS.api import TTS in the file):

/home/friend/.cache/pypoetry/virtualenvs/smol-k8s-lab-rxIC-Q7--py3.12/lib/python3.12/site-packages/pysbd/segmenter.py:66: SyntaxWarning: invalid escape sequence '\s'
  for match in re.finditer('{0}\s*'.format(re.escape(sent)), self.original_text):
/home/friend/.cache/pypoetry/virtualenvs/smol-k8s-lab-rxIC-Q7--py3.12/lib/python3.12/site-packages/pysbd/lang/arabic.py:29: SyntaxWarning: invalid escape sequence '\.'
  txt = re.sub('(?<={0})\.'.format(am), '∯', txt)
/home/friend/.cache/pypoetry/virtualenvs/smol-k8s-lab-rxIC-Q7--py3.12/lib/python3.12/site-packages/pysbd/lang/persian.py:29: SyntaxWarning: invalid escape sequence '\.'
  txt = re.sub('(?<={0})\.'.format(am), '∯', txt)
/home/friend/.cache/pypoetry/virtualenvs/smol-k8s-lab-rxIC-Q7--py3.12/lib/python3.12/site-packages/jsonlines/jsonlines.py:301: SyntaxWarning: invalid escape sequence '\*'
  """

I don't know why I get that either, but it's less of a big deal to me, because tts works again :) Closing this as it was my borked poetry env's fault. Kind regards 👋

from coqui-ai-tts.

jessebot avatar jessebot commented on August 13, 2024

I honestly don't know what went wrong myself 😅 I can tell you, and anyone encountering this strangeness, that the fix was just doing:

# removed the entire env and all the cache
poetry env remove myenv
poetry cache clear PyPI --all
poetry cache clear _default_cache --all

# audio is the name of the poetry dep group I use for tts stuff
poetry install --with audio

# after this, everything worked as normal

If you're curious, you can see the pyproject.toml here:
https://github.com/small-hack/smol-k8s-lab/blob/879dc1bc25b63db2f233f81981133d3f13caa4d1/pyproject.toml#L73-L78

And the lock file here:
https://github.com/small-hack/smol-k8s-lab/blob/879dc1bc25b63db2f233f81981133d3f13caa4d1/poetry.lock#L662-L791

Either way, it's all good now, and it was probably something goofy in my env :) Thanks for your clarifications regardless 🙏

from coqui-ai-tts.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.