-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
[BUG] Transcription problem #61
Comments
DescriptionI got the similar problem in my PC To ReproduceSteps to reproduce the behavior:
curl -o docker-compose.yml https://raw.githubusercontent.com/pluja/whishper/main/docker-compose.yml && \
curl -o .env https://raw.githubusercontent.com/pluja/whishper/main/example.env && \
curl -o nginx.conf https://raw.githubusercontent.com/pluja/whishper/main/nginx.conf
mkdir -p ./whishper_data/libretranslate/{data,cache} && \
chown -R 1032:1032 whishper_data/libretranslate after command, permissions shows below lab@lab-4080:~/whishper$ cd whishper_data/
lab@lab-4080:~/whishper/whishper_data$ ll
total 24
drwxrwxr-x 6 lab lab 4096 十二 4 12:56 ./
drwxrwxr-x 3 lab lab 4096 十二 4 12:55 ../
drwxr-xr-x 6 systemd-coredump root 4096 十二 4 15:00 db_data/
drwxrwxr-x 4 1032 1032 4096 十二 4 12:55 libretranslate/
drwxr-xr-x 2 root root 4096 十二 4 12:56 logs/
drwxr-xr-x 2 root root 4096 十二 4 12:56 uploads/
Expected behaviorStart transcript and show the result Environment
Logs and ConfigurationWhen enter devtools in browser -> Console Page, it show the error below
Docker Compose Logs
Docker Compose Fileversion: "3.9"
services:
mongo:
image: mongo
env_file:
- .env
restart: unless-stopped
volumes:
- ./whishper_data/db_data:/data/db
- ./whishper_data/db_data/logs/:/var/log/mongodb/
environment:
MONGO_INITDB_ROOT_USERNAME: ${DB_USER:-whishper}
MONGO_INITDB_ROOT_PASSWORD: ${DB_PASS:-whishper}
expose:
- 27017
command: ['--logpath', '/var/log/mongodb/mongod.log']
translate:
container_name: whisper-libretranslate
image: libretranslate/libretranslate:latest-cuda
restart: unless-stopped
volumes:
- ./whishper_data/libretranslate/data:/home/libretranslate/.local/share
- ./whishper_data/libretranslate/cache:/home/libretranslate/.local/cache
env_file:
- .env
user: root
tty: true
environment:
LT_DISABLE_WEB_UI: True
LT_LOAD_ONLY: ${LT_LOAD_ONLY:-en,fr,es}
LT_UPDATE_MODELS: True
expose:
- 5000
networks:
default:
aliases:
- translate
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
whishper:
pull_policy: always
image: pluja/whishper:${WHISHPER_VERSION:-latest-gpu}
env_file:
- .env
volumes:
- ./whishper_data/uploads:/app/uploads
- ./whishper_data/logs:/var/log/whishper
container_name: whishper
restart: unless-stopped
networks:
default:
aliases:
- whishper
ports:
- 8082:80
depends_on:
- mongo
- translate
environment:
PUBLIC_INTERNAL_API_HOST: "http://127.0.0.1:80"
PUBLIC_TRANSLATION_API_HOST: ""
PUBLIC_API_HOST: ${WHISHPER_HOST:-}
PUBLIC_WHISHPER_PROFILE: gpu
WHISPER_MODELS_DIR: /app/models
UPLOAD_DIR: /app/uploads
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Try to use the UI but it doesn't work
To Reproduce
I installed with the "easy" version and the manual but both time i have the same result.
I click on new transcription but it doesnt' work.
Environment
Logs and Configuration
Docker Compose Logs
whishper | 2023-12-01 17:05:31,047 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
whishper | 2023-12-01 17:05:31,048 INFO supervisord started with pid 1
whishper | 2023-12-01 17:05:32,052 INFO spawned: 'backend' with pid 7
whishper | 2023-12-01 17:05:32,056 INFO spawned: 'frontend' with pid 8
whishper | 2023-12-01 17:05:32,061 INFO spawned: 'nginx' with pid 9
whishper | 2023-12-01 17:05:32,064 INFO spawned: 'transcription' with pid 10
whishper | 2023-12-01 17:05:33,249 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2023-12-01 17:05:33,249 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2023-12-01 17:05:33,249 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
whishper | 2023-12-01 17:05:33,249 INFO success: transcription entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
documents-mongo-1 | {"t":{"$date":"2023-12-01T17:05:30.580Z"},"s":"I", "c":"CONTROL", "id":20697, "ctx":"main","msg":"Renamed existing log file","attr":{"oldLogPath":"/var/log/mongodb/mongod.log","newLogPath":"/var/log/mongodb/mongod.log.2023-12-01T17-05-30"}}
whisper-libretranslate | Updating language models
whisper-libretranslate | Found 86 models
whisper-libretranslate | Keep 4 models
whisper-libretranslate | Downloading English → French (1.9) ...
whisper-libretranslate | Downloading English → Spanish (1.0) ...
whisper-libretranslate | Downloading French → English (1.9) ...
whisper-libretranslate | Downloading Spanish → English (1.0) ...
whisper-libretranslate | Loaded support for 3 languages (4 models total)!
whisper-libretranslate | Running on http://0.0.0.0:5000
Docker Compose File
PASTE YOUR DOCKER-COMPOSE.YML FILE HERE
The text was updated successfully, but these errors were encountered: