Skip to content

An API-based system that generates class-wise facts using OpenAI and converts them into audio with TTS.

Notifications You must be signed in to change notification settings

cruvss/Class-Wise-Fact-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation Guide

Follow these steps to set up and run the project:

  1. Clone the repository and install dependencies:

    git clone https://github.com/cruvss/Class-Wise-Fact-Generator.git
    cd class-wise-fact-generator
    cd code
    pip install -r requirements.txt
  2. Create a .env file in the project root with your API keys:

    OPENAI_API_KEY=your_openai_key_here
    AZURE_SPEECH_KEY=your_azure_speech_key_here
  3. Start the FastAPI server:

    uvicorn main:app --reload
  4. Launch the Streamlit interface:

    streamlit run web_app.py

About

An API-based system that generates class-wise facts using OpenAI and converts them into audio with TTS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages