Spaces:
Configuration error
Configuration error
File size: 1,391 Bytes
bb9e7ea 6ad6b66 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
---
title: "transcribe"
# emoji: {{emoji}}
#colorFrom: {{colorFrom}}
#colorTo: {{colorTo}}
#sdk: {{sdk}}
#sdk_version: "{{sdkVersion}}"
app_file: app.py
pinned: false
---
[](https://colab.research.google.com/github/EliasVincent/whisper-subtitles-webui/blob/master/colab/whisper_subtitles_webui_colab.ipynb)
# What
A gradio frontend for generating transcribed or translated subtitles for videos using OpenAI Whisper locally.
# Why
I just wanted a nice frontend where you can just drop a video or url and it will spit out subs. Whisper is amazing but I haven't found that many implementations, especially ones that can be run locally.

# Install
```
python -m venv .
.\Scripts\activate
# if this doesn't work, pip install the following manually: openai-whisper ffmpeg torch gradio
pip install -r requirements.txt
python server.py
```
To share, add `--remote=True`.
# Features
- Input a video or any other media file
- Input a YouTube URL
- Transcribe
- Translate to English
- Select different models for your hardware
- CUDA support
- Output .srt or video file with embedded subtitles
# Troubleshooting
If the output says `gpu available: False` [you might need to pip install a different version of Torch for your specific hardware](https://pytorch.org/get-started/locally/#start-locally)
|