Spaces:
Runtime error
Runtime error
Rachel Rakov
commited on
Commit
·
631c95c
1
Parent(s):
a111acc
Troubleshooting API key
Browse files- eng_to_aslGloss_app.py +3 -3
eng_to_aslGloss_app.py
CHANGED
@@ -7,10 +7,10 @@ from openai import OpenAI
|
|
7 |
|
8 |
|
9 |
# Set secret key
|
10 |
-
HF_TOKEN = os.getenv("NextStar")
|
11 |
|
12 |
-
# Set client
|
13 |
-
client = OpenAI(
|
14 |
|
15 |
#Set prompt engineering paths (so globally available)
|
16 |
inStructionPath = "intro_instructions_combine.txt"
|
|
|
7 |
|
8 |
|
9 |
# Set secret key
|
10 |
+
#HF_TOKEN = os.getenv("NextStar")
|
11 |
|
12 |
+
# Set client and secret key
|
13 |
+
client = OpenAI(api_key=os.getenv("NextStar"))
|
14 |
|
15 |
#Set prompt engineering paths (so globally available)
|
16 |
inStructionPath = "intro_instructions_combine.txt"
|