PhoWhisper Tool is a specialized AI assistant for Vietnamese and multilingual audio, designed to transcribe audio recordings, YouTube videos, lectures, and meetings. The tool automatically converts speech to text (Transcription) and utilizes the most advanced LLMs (Gemini 3.1, Gemma 4) to summarize and refine the content.
Thinking Budget (deep reasoning) and Google Search Grounding (real-time fact-checking).brew install ffmpegsudo apt install ffmpegOpen Terminal/PowerShell in the project directory and run:
# 1. Uninstall old versions (if any)
pip uninstall -y torch torchvision torchaudio
# 2. Install PyTorch with CUDA 12.4 support (Latest 2026)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
# 3. Install other dependencies
pip install -r requirements.txt
Create a .env file in the root directory and configure it as follows:
# Google Gemini API (Get yours at aistudio.google.com)
GEMINI_API_KEY=your_api_key_here
# Advanced Gemini Model Options (Latest 3.1 Series)
# Suffixes: -maxthinking (deep reasoning), -search (Google search grounding)
GEMINI_MODEL=gemini-3.1-pro-preview-maxthinking
# Optional Proxy (if using geminicli2api)
# GEMINI_BASE_URL=http://localhost:8888/v1
# Local LLM (Ollama)
LOCAL_MODEL_NAME=gemma4:31b
python gui.py
Supports drag-and-drop, real-time status updates, and direct chat with your transcript content.
Process Local Files:
# Automatically process all files in the /audio folder
python phowhisper.py
# Manual mode to select GPU/CPU and specific files
python phowhisper.py --mode manual
Process URLs Directly:
# Download and process from YouTube
python phowhisper.py https://www.youtube.com/watch?v=xxxx
# Download and process from Google Drive
python phowhisper.py https://drive.google.com/file/d/xxxx/view
Advanced Parameters:
--noise-reduction: Activate AI-powered noise filtering.--asr-model auto|phowhisper|whisper: Choose the ASR model.--skip-speed: Skip speed optimization (useful for 100% word-for-word accuracy).audio/: Input folder for raw files (automatically cleaned up after processing).output/: Output folder for raw transcripts (.txt) and refined summaries (_processed.txt).core/: YTDown engine for high-performance audio/video downloading.Developed with passion for the Vietnamese AI community and beyond.
PhoWhisper Tool is a specialized AI assistant for Vietnamese and multilingual audio, designed to transcribe audio recordings, YouTube videos, lectures, and meetings. The tool automatically converts speech to text (Transcription) and utilizes the most advanced LLMs (Gemini 3.1, Gemma 4) to summarize and refine the content.
Thinking Budget (deep reasoning) and Google Search Grounding (real-time fact-checking).brew install ffmpegsudo apt install ffmpegOpen Terminal/PowerShell in the project directory and run:
# 1. Uninstall old versions (if any)
pip uninstall -y torch torchvision torchaudio
# 2. Install PyTorch with CUDA 12.4 support (Latest 2026)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
# 3. Install other dependencies
pip install -r requirements.txt
Create a .env file in the root directory and configure it as follows:
# Google Gemini API (Get yours at aistudio.google.com)
GEMINI_API_KEY=your_api_key_here
# Advanced Gemini Model Options (Latest 3.1 Series)
# Suffixes: -maxthinking (deep reasoning), -search (Google search grounding)
GEMINI_MODEL=gemini-3.1-pro-preview-maxthinking
# Optional Proxy (if using geminicli2api)
# GEMINI_BASE_URL=http://localhost:8888/v1
# Local LLM (Ollama)
LOCAL_MODEL_NAME=gemma4:31b
python gui.py
Supports drag-and-drop, real-time status updates, and direct chat with your transcript content.
Process Local Files:
# Automatically process all files in the /audio folder
python phowhisper.py
# Manual mode to select GPU/CPU and specific files
python phowhisper.py --mode manual
Process URLs Directly:
# Download and process from YouTube
python phowhisper.py https://www.youtube.com/watch?v=xxxx
# Download and process from Google Drive
python phowhisper.py https://drive.google.com/file/d/xxxx/view
Advanced Parameters:
--noise-reduction: Activate AI-powered noise filtering.--asr-model auto|phowhisper|whisper: Choose the ASR model.--skip-speed: Skip speed optimization (useful for 100% word-for-word accuracy).audio/: Input folder for raw files (automatically cleaned up after processing).output/: Output folder for raw transcripts (.txt) and refined summaries (_processed.txt).core/: YTDown engine for high-performance audio/video downloading.Developed with passion for the Vietnamese AI community and beyond.