카테고리 없음

Whisper-WebUI (자동자막)설치

뉴벡엔드 2024. 4. 28. 23:41

Whisper-WebUI 깃허브입니다.

GitHub - jhj0517/Whisper-WebUI: A Web UI for easy subtitle using whisper model.

 

GitHub - jhj0517/Whisper-WebUI: A Web UI for easy subtitle using whisper model.

A Web UI for easy subtitle using whisper model. Contribute to jhj0517/Whisper-WebUI development by creating an account on GitHub.

github.com

 

git, python, ffmpeg,  CUDA를 설치해야 합니다. 

 

 


Git

Git - Downloads (git-scm.com)

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

 

설치 완료 후  원하는 폴더에 

git clone https://github.com/jhj0517/Whisper-WebUI.git

 

하면 다운이 됩니다.

 


 

Python

3.8 ~ 3.10 버전사용해야 하므로 3.10.10 버전 사용하겠습니다.

https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe

 

Download Python

The official home of the Python Programming Language

www.python.org

처음 설치할때 시스템 변수 설정하는 거 체크해야합니다.

 


FFMPEG

 

Builds - CODEX FFMPEG @ gyan.dev

 

Builds - CODEX FFMPEG @ gyan.dev

FFmpeg is a widely-used cross-platform multimedia framework which can process almost all common and many uncommon media formats. It has over 1000 internal components to capture, decode, encode, modify, combine, stream media, and it can make use of dozens o

www.gyan.dev

 

ffmpeg-release-essentials.zip

을 다운받아 압축을 푼 후 시스템 변수 설정을 합니다.

윈도우 검색에 "시스템 환경 변수 편집"을 검색하여 선택 후

 

환경 변수"를 클릭 "시스템 변수"에서 Path를 더블 클릭 후 새로 만들기 

 

 

C:\Devlop\ffmpeg-7.0-essentials_build\bin 처럼 ffmpeg/bin위치를 저장

 


CUDA

 

CUDA 12버전 이상 사용하라 하여 12.1버전 다운합니다.

CUDA Toolkit 12.1 Update 1 Downloads | NVIDIA Developer

 

CUDA Toolkit 12.1 Update 1 Downloads

 

developer.nvidia.com

 

 


PyTorch

 

CUDA 12.1버전을 다운 했으므로 PyTorch도 맞게 설치합니다.

PyTorch

 

PyTorch

 

pytorch.org

 

 

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

 


Whisper-WebUI

폴더에서 Install을 한 후

 

 start-webui를 실행하면

 

http://127.0.0.1:7860에서 실행가능

 


Error해결

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

라고하면 

 

app.py 파일에 

import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"

 

추가

반응형