A newer version of the Gradio SDK is available:
5.29.0
metadata
title: Template Final Assignment
emoji: 🕵🏻♂️
colorFrom: indigo
colorTo: indigo
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_expiration_minutes: 480
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Usage
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt
- create a .env file with your OpenAI API key:
HF_API_KEY=your_key_here
HF_MODEL_ID=gpt-4o-mini # or gpt-4o for higher accuracy
- Run the application:
python app.py