Spaces:
Sleeping
Sleeping
Kevin Wu
commited on
Commit
•
fc217ff
1
Parent(s):
ec51382
Initial
Browse files
app.py
CHANGED
@@ -8,11 +8,10 @@ from openai import OpenAI
|
|
8 |
import xml.etree.ElementTree as ET
|
9 |
import re
|
10 |
import pandas as pd
|
11 |
-
import api_keys
|
12 |
|
13 |
import note_extraction.hf_hosting.prompts as prompts
|
14 |
|
15 |
-
client = OpenAI(api_key=
|
16 |
|
17 |
model_name = "gpt-4o-2024-08-06"
|
18 |
|
|
|
8 |
import xml.etree.ElementTree as ET
|
9 |
import re
|
10 |
import pandas as pd
|
|
|
11 |
|
12 |
import note_extraction.hf_hosting.prompts as prompts
|
13 |
|
14 |
+
client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
15 |
|
16 |
model_name = "gpt-4o-2024-08-06"
|
17 |
|