git clone https://github.com/Dnzldotexe/deepfake-detection.git
cd deepfake-detection
python -m venv venv
- Powershell:
.\venv\Scripts\activate
- Bash:
source ./venv/bin/activate
pip install -r requirements.txt
- Powershell: `winget install "FFmpeg (Essentials Build)"`
- Bash: `sudo apt-get install ffmpeg`
cp secrets.toml.example secrets.toml
- Create your Huggingface account and go to Settings > Tokens
- Create a READ type token and give it a name
- Copy the token and paste it to
secrets.toml
- Your
secrets.toml
should look like below
[api]
HUGGING_FACE_API_KEY = "hf_iloveshrek"
streamlit run .\app.py
CTRL + C
deactivate