Giter Club home page Giter Club logo

Comments (4)

Mozer avatar Mozer commented on September 17, 2024

What error message is it showing? It can't find the path? Is it because the wrong slash in the path?

from wav2lip_extension.

ostr00000 avatar ostr00000 commented on September 17, 2024

In code, I have referenced, there is no Python error. The error shows later when this file is going to be accessed. This is because of incorrectly computed path.

The char \ is used inside string. This works on Windows - the char is interpreted as a folder separator.
But on Linux this is a totally valid filename, so there is created a folder with name wav2lip\checkpoints.

https://docs.python.org/3/library/os.html?highlight=os.sep#os.sep

from wav2lip_extension.

Mozer avatar Mozer commented on September 17, 2024

I updated https://github.com/Mozer/wav2lip, removed those back slashes and wrapped in os.path.join. Please check if it works now, maybe I missed something.

from wav2lip_extension.

ostr00000 avatar ostr00000 commented on September 17, 2024

I have reviewed these changes and it looks good.
I believe that trailing "" (empty string) is not necessary, because flask function send-from-directory do not care about it (it is actually passed again to os.path.join), but let it stay for now.

from wav2lip_extension.

Related Issues (6)

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.