Giter VIP home page Giter VIP logo

Comments (12)

bucketcat avatar bucketcat commented on May 12, 2024 2

Same problem on Docker.

Edit: Directory structure is completely broken on Docker, as you can't open a folder normally with it being containerized. So anything using 'xdg-open' is just non-functional (and a lot of Gradio related stuff).

Is the docker version actively maintained?@rsxdalv

Edit 2:
Setting up a default bind mount to access local dirs might be a smart idea, albeit technically unsafe as you defeat the whole point of containerizing. Currently, a lot of Gradio UI also breaks (visually and functionally), buttons related to opening local directories. This would solve files not importing during runtime, accessing outputs locally, custom voices locally and most likely fix the graphical bugs. Screenshot included.

broken_ui

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024 1

Ok I launched the collab and I can see that it's having issues, I'll try to solve them within a few hours.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

Thanks for the log, it seems that xdg-open couldn't open the directory for rvc checkpoints. Could you try opening it manually /content/tts-generation-webui/data/models/rvc/checkpoints? The directory should exist, but that could be an issue.

from tts-generation-webui.

sergedahdouh avatar sergedahdouh commented on May 12, 2024

Thanks for the log, it seems that xdg-open couldn't open the directory for rvc checkpoints. Could you try opening it manually /content/tts-generation-webui/data/models/rvc/checkpoints? The directory should exist, but that could be an issue.

thank you for your reply,
Screenshot 2023-06-28 at 16 08 41

Screen.Recording.2023-07-24.at.19.44.04.mov

actually i have add it manually but did not work

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

I see, I think xdg-open might be impossible for google collab.

from tts-generation-webui.

sergedahdouh avatar sergedahdouh commented on May 12, 2024

I see, I think xdg-open might be impossible for google collab.

maybe we can use torch.load('model.pth')

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

I don't have a google collab open right now but I think if you use the second part, and drag and drop or upload the files there it will work.
image

from tts-generation-webui.

sergedahdouh avatar sergedahdouh commented on May 12, 2024

I don't have a google collab open right now but I think if you use the second part, and drag and drop or upload the files there it will work. image

yes i upload them like that you need to remove and upload it serval times to work

from tts-generation-webui.

sergedahdouh avatar sergedahdouh commented on May 12, 2024

also i have question how to upload more voices to tts as upload is not working which folders ?

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

Ok, when I placed the files like so it works:
image
Note - there needs to be a directory (with any name) under ./checkpoints, like ./checkpoints/some_model/ for me I just have each model in it's own directory.
Once they are there, press the refresh button:
image

Also, when I uploaded them directly it gave me the NoneType error on the first try but second time I pressed "Convert" it worked. I believe it's a bug that's caused by how the files are handled. They are uploaded a second time in the background which means that you can't see when they are ready. Once I have a clear plan on how to change it, I will. (Locally this second upload causes almost no delay, but collab is different).

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

Same problem on Docker.

Edit: Directory structure is completely broken on Docker, as you can't open a folder normally with it being containerized. So anything using 'xdg-open' is just non-functional (and a lot of Gradio related stuff).

Is the docker version actively maintained?@rsxdalv

Edit 2: Setting up a default bind mount to access local dirs might be a smart idea, albeit technically unsafe as you defeat the whole point of containerizing. Currently, a lot of Gradio UI also breaks (visually and functionally), buttons related to opening local directories. This would solve files not importing during runtime, accessing outputs locally, custom voices locally and most likely fix the graphical bugs. Screenshot included.

broken_ui

Just for reference: I don't get emails nor notifications for edits. If it's a bigger update, feel free to post another comment. This time I never realized you were trying to reach me.

The docker version is maintained though yes xdg open wouldn't work on it. Did you build the container yourself or use an image? I'm worried there might be out of date images but they shouldn't be too old. I'd say that generally the purpose of the docker version is more towards deploying this as a service. While it's nice that it allows more users to launch the project, the lack of file persistence after deleting the container and inability to easily "see" the files is just a fact. Perhaps the open folder icons should also give a file upload option in the future.

Using a local mount sounds like a great alternative. It does split the use cases, but maybe there's a way to satisfy both.

The icons use a font that has failed to load in the picture. When I switch to react I'll be able to make it bundle the font.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 12, 2024

I'd say we should create a new issue for docker to track these problems separately.

from tts-generation-webui.

Related Issues (20)

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.