Skip to content

Dnzldotexe/deepfake-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up

Clone the repository

git clone https://github.com/Dnzldotexe/deepfake-detection.git

Go to project directory

cd deepfake-detection

Creating a python virtual environment

python -m venv venv

Activating the virtual environment

  • Powershell: .\venv\Scripts\activate
  • Bash: source ./venv/bin/activate

Installing dependencies (this takes time)

pip install -r requirements.txt

Install ffmpeg for audio detection

- Powershell: `winget install "FFmpeg (Essentials Build)"`
- Bash: `sudo apt-get install ffmpeg`

Adding your config file in .streamlit/ directory

cp secrets.toml.example secrets.toml

Adding your Huggingface API key

  • 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"

Running streamlit server

streamlit run .\app.py

Stopping streamlit server

CTRL + C

Deactivating the virtual environment

deactivate

About

A project for Artificial Intelligence and Information Security

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages