Spaces:
Sleeping
Sleeping
app file updated
Browse files37 unmodified lines3839404142434437 unmodified linesprint("Loading Pyannote Diarization Pipeline...")if not HF_TOKEN:raise ValueError("Hugging Face token (HF_TOKEN) not set. Please set it as a Space secret.")diarize_pipeline_global = whisperx.DiarizationPipeline(use_auth_token=HF_TOKEN, device=device)print("Loading translation model (Helsinki-NLP/opus-mt-ta-en)...")try:37 unmodified lines3839404142434437 unmodified linesprint("Loading Pyannote Diarization Pipeline...")if not HF_TOKEN:raise ValueError("Hugging Face token (HF_TOKEN) not set. Please set it as a Space secret.")diarize_pipeline_global = whisperx.diarize.DiarizationPipeline(use_auth_token=HF_TOKEN, device=device)print("Loading translation model (Helsinki-NLP/opus-mt-ta-en)...")try:
app.py+1-1