Giter VIP home page Giter VIP logo

Comments (6)

rsxdalv avatar rsxdalv commented on May 26, 2024 2

That's amazing, thank you, I have included it in the latest commit. Thankfully gradio's markdown accepts HTML.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 26, 2024 1

Thanks, I will fix it.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 26, 2024

from tts-generation-webui.

darkvertex avatar darkvertex commented on May 26, 2024

Hmm, when launching the Docker image (ghcr.io/rsxdalv/tts-generation-webui:main) at the time of writing, I see:
/bin/sh: 1: npm: not found

I guess that's it; npm is missing.

Also missing is a line to expose port 3000 in the docker-compose.yml:

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on May 26, 2024

I pushed the update. Please test the new image and let me know how it goes. https://github.com/rsxdalv/tts-generation-webui/actions/runs/8393137834/job/22987441352

from tts-generation-webui.

darkvertex avatar darkvertex commented on May 26, 2024

Seems to work now as far as serving a UI on port 3000 is concerned, but FYI the link assumes it is running as localhost, which may not always be so.

In my case I run this container on a beefy remote machine and so clicking the "NEW React UI" takes me to... nothing... but swapping the port number does work.

Linking to a different port number relatively is not allowed in HTML, but with a bit of JS you can take your link:

<a href="http://localhost:3000" target="_blank" rel="noopener noreferrer">NEW React UI</a>

and use JS to swap the port number on hover:

<a href="/" target="_blank" rel="noopener noreferrer" onmouseover="javascript:event.target.port=3000">NEW React UI</a>

Works like a charm and displays the actual real link on hover, like a natural link.

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.