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

The docker image latest, pushed on Feb 5, 2025 does not work #497

Open
janusn opened this issue Feb 8, 2025 · 2 comments
Open

The docker image latest, pushed on Feb 5, 2025 does not work #497

janusn opened this issue Feb 8, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@janusn
Copy link

janusn commented Feb 8, 2025

Which OS are you using?

  • OS: [e.g. iOS or Windows.. If you are using Google Colab, just Colab.] Alpine Linux 3.21.0 64bit
  • installation: Docker version 27.5.1, build 9f9e405
  • docker image: latest pushed on Feb 5, 2025.

compose.yaml

services:
  app:
    build: .
    image: jhj0517/whisper-webui:latest
    container_name: whisper-webui
    volumes:
      - ./models:/Whisper-WebUI/models
      - ./outputs:/Whisper-WebUI/outputs
      - ./configs:/Whisper-WebUI/configs
      - ./app/requirements.txt:/Whisper-WebUI/requirements.txt
      - type: tmpfs
        target: /tmp
    environment:
      - OMP_NUM_THREADS=24
      - SUBTITLE_LANGUAGE_NAMING_TYPE=ISO_639_3
    ports:
      - 7860:7860
    stdin_open: true
    tty: true
    entrypoint:
      - python
      - app.py
      - --server_port
      - "7860"
      - --server_name
      - 0.0.0.0
      - --username
      - user
      - --password
      - "password"
      - --colab
      - "False"
    deploy:
      resources:
        limits:
          memory: 16G

Issue:
The webui was running fine. The facebook nllb and whisper was working before pulling image pushed on Feb 5, 2025.

Now, the webpage shows only the word "loading..." as shown below.

Image

log:

# docker logs whisper-webui
Use "faster-whisper" implementation
Device "auto" is detected
* Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
@janusn janusn added the bug Something isn't working label Feb 8, 2025
@jhj0517
Copy link
Owner

jhj0517 commented Feb 8, 2025

Hi, Thanks for reporting this.

I suspect something went wrong with the auth parameter in gradio==5.15.0.
This was only reproducible when I use the username and password parameters in gradio==5.15.0.

Until it's fixed in the gradio : gradio-app/gradio#10467

The quick fix would be to downgrade gradio to gradio==5.13.0 here:

and rebuild the image. Or just drop the username and password parameters if you don't need the auth feature for now.

@janusn
Copy link
Author

janusn commented Feb 8, 2025

@jhj0517
Thanks for your reply. I have fixed it by dropping the username and password parameters.

However, I have trouble rebuilding the image. 😞

# docker compose build --no-cache
[+] Building 0.1s (1/1) FINISHED                                                                                                                 docker:default
 => [app internal] load build definition from Dockerfile                                                                                                   0.0s
 => => transferring dockerfile: 2B                                                                                                                         0.0s
failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants