Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the command to start it in the docker container and use the web ui? #701

Open
4 tasks done
Devoney opened this issue Jan 8, 2025 · 2 comments
Open
4 tasks done
Labels
help wanted Extra attention is needed

Comments

@Devoney
Copy link

Devoney commented Jan 8, 2025

Checks

  • This template is only for usage issues encountered.
  • I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
  • I have searched for existing issues, including closed ones, and couldn't find a solution.
  • I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details

I'm using Windows and Docker and Docker Desktop. I pulled the image. And I tried starting it with docker run --gpus all -p 7860:7860 -it ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio. When I then go to the webbrowser on address http://localhost:7860/ it says empty no response, even though docker ps shows 0.0.0.0:7860->7860/tcp in the ports forwarding.
Which command can I run (via Powershell perhaps) to launch the image as a container and have it expose the ports properly and run the web ui? Thanks so much.

Steps to Reproduce

Running dockker command docker run --gpus all -p 7860:7860 -it ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio.

✔️ Expected Behavior

Browser in Windows shows the web UI ran inside the container.

❌ Actual Behavior

Empty response in the browser.

@Devoney Devoney added the help wanted Extra attention is needed label Jan 8, 2025
@SWivid
Copy link
Owner

SWivid commented Jan 10, 2025

it's hard to debug for this

you could try directly use conda env and install f5tts (or maybe with wsl2 also fine)
remember to have ffmpeg on your windows device

@emerylopes
Copy link

emerylopes commented Jan 11, 2025

Just add --network host and it will work. You can also assign another docker network but you need nginx .

sudo docker run --name f5-tts --network host --gpus all -p 7860:7860 -it ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants