File size: 707 Bytes
2705160
 
62ad9da
 
 
2705160
 
 
 
d123508
 
 
2705160
 
66b0cbf
 
9d717fc
 
 
 
66b0cbf
 
9d717fc
66b0cbf
9d717fc
66b0cbf
9d717fc
35e1833
 
9d717fc
66b0cbf
9d717fc
66b0cbf
9d717fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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
# optional, default duration is 8 hours/480 minutes. Max duration is 30 days/43200 minutes.
hf_oauth_expiration_minutes: 480
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


## Usage


1. Clone this repository
2. Install the required dependencies:
```bash
pip install -r requirements.txt
```
3. 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
```
4. Run the application:
```bash
python app.py
```