Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.41 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.41 KB

Miss Info (CruzHacks 2024)

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)

Screen Shot 2024-01-21 at 4 14 13 AM

Usage

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