A web page that detects any misinformation present in TikTok videos using AI and Large Language Models. The LLMs used for this project include LLama, ChatGPT, and Assembly-AI. OpenCV and CDN are also used to process video frames. After the provided TikTok video is processed, a summary of the misinformation analysis is displayed alongside relevant sources from snopes.com. (Project for CruzHacks 2024)
Insert your OpenAI, AssemblyAI, Replicate, and CDN keys in backend/api/api_keys.py with the following variables:
OPEN_AI_API_KEY = ""
ASM_AI_API_KEY = ""
REPLICATE_API_KEY = ""
CDN_CLOUD_NAME = ""
CDN_API_KEY = ""
CDN_API_SECRET = ""
This project consists of two components: the React application for webpage rendering and the Flask application for running the LLM APIs and processing the TikTok video. Both components must be run for the web application to function.
In one terminal, run the following commands to start up the React application:
cd client
npm install
npm run start
In another terminal, run the following commands to start up the Flask application:
pip3 install -r requirements.txt
cd backend
python3 app.py