whisper-website
whisper-website copied to clipboard
Simple web application, which can be used to convert audio to subtitles by OpenAI's Whisper model
Website which convert speech to text by Whisper model (Official Repo)
Hosting website on localhost:
- Clone the repo -
git clone [email protected]:Kabanosk/whisper-website.git
- Go to repo directory -
cd whisper-website
- Create virtual environment -
python3 -m venv venv
- Activate the environment -
source venv/bin/activate
/. venv/bin/activate
- Install requirements -
pip install -r requirements.txt
- Go to src directory -
cd src
- Run the
run.py
file -python3 run.py
- Go to your browser and type
http://127.0.0.1:8000/
if the browser doesn't open
Run website on localhost with Docker
First time
- Install Docker
- Clone the repo -
git clone [email protected]:Kabanosk/whisper-website.git
- Go to repo directory -
cd whisper-website
- Create Docker image -
docker build -t app .
- Run Docker container -
docker run --name app_container -p 80:80 app
- Go to your browser and type
http://127.0.0.1:80/
Next time
- Start your Docker container -
docker start app_container
- Go to your browser and type
http://127.0.0.1:80/