speaker-diarization-pyannote / SETUP_INSTRUCTIONS.md
marcosremar2's picture
Fix authentication error and add setup instructions
d8378cd
# Setup Instructions
## Required Steps:
1. **Accept the pyannote model conditions**:
- Visit https://huggingface.co/pyannote/speaker-diarization-3.1
- Click "Agree and access repository" to accept the conditions
2. **Create a Hugging Face token**:
- Go to https://huggingface.co/settings/tokens
- Create a new token with "read" permissions
- Copy the token
3. **Add the token to your Space secrets**:
- Go to your Space settings: https://huggingface.co/spaces/marcosremar2/speaker-diarization-pyannote/settings
- Scroll to "Repository secrets" section
- Add a new secret:
- Name: `HF_TOKEN`
- Value: Your Hugging Face token
- Click "Save"
4. **Restart the Space** after adding the token
The Space should now work correctly!