Follow these steps to set up and run the project:
-
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
-
Create a
.envfile in the project root with your API keys:OPENAI_API_KEY=your_openai_key_here AZURE_SPEECH_KEY=your_azure_speech_key_here
-
Start the FastAPI server:
uvicorn main:app --reload
-
Launch the Streamlit interface:
streamlit run web_app.py