- Install Flask
pip install Flask
- Run the UI.py file
python3 UI.py
- Open the following link in your browser
http://127.0.0.1:37000/
- or click here
- Enjoy!
- Note: Refresh the page to go back to the home page
- Linux
- MacOS (not recommended)
Running on macOS is not recommended. First, ensure that you have downloaded all the dependancies (including FFmpeg). Second, if you're getting an error about FFmpeg not being found, then you need to add FFmpeg to your PATH.
For example, if you installed FFmpeg using Homebrew, then you can add the following lines of code to line 5 of libraries/milestone_2.py
:
ffmpeg_path = "/opt/homebrew/bin/ffmpeg"
os.environ["PATH"] += f":{os.path.dirname(ffmpeg_path)}"
os.environ["IMAGEIO_FFMPEG_EXE"] = ffmpeg_path
YouTube Transcript/Subtitle API
pip install pytube
pip install youtube-transcript-api
pip install moviepy
pip install openai-whisper
pip install argostranslate
pip install TTS
pip install pydub
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# on Arch Linux
sudo pacman -S ffmpeg
# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg
# Ubuntu or Debian
sudo apt update && sudo apt install imagemagick
# Homebrew (MacOS)
brew install imagemagick
MacOS/Linux
cd /path/to/dir
python3 ./main.py
Running the script will create new folders in the current directory (where you're running the script from).