Update README.md
Browse files
README.md
CHANGED
@@ -12,4 +12,19 @@ hf_oauth: true
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
16 |
+
|
17 |
+
Usage
|
18 |
+
1. Clone this repository
|
19 |
+
2. Install the required dependencies:
|
20 |
+
|
21 |
+
pip install -r requirements.txt
|
22 |
+
|
23 |
+
3. create a .env file with your OpenAI API key:
|
24 |
+
|
25 |
+
OPENAI_API_KEY=your_key_here
|
26 |
+
OPENAI_MODEL_ID=gpt-4o-mini # or gpt-4o for higher accuracy
|
27 |
+
|
28 |
+
4. Run the application:
|
29 |
+
|
30 |
+
python app.py
|