Spaces:
Runtime error
Runtime error
Commit
Β·
2976cd5
1
Parent(s):
38af3a4
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def on_prompt_template_change(prompt_template):
|
|
60 |
def submit_message(prompt, prompt_template, temperature, max_tokens, context_length, state):
|
61 |
|
62 |
openai.api_key = os.environ['openai_key']
|
63 |
-
os.environ["OPENAI_API_KEY"] =
|
64 |
|
65 |
# load in all the files
|
66 |
path = './files'
|
|
|
60 |
def submit_message(prompt, prompt_template, temperature, max_tokens, context_length, state):
|
61 |
|
62 |
openai.api_key = os.environ['openai_key']
|
63 |
+
os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
|
64 |
|
65 |
# load in all the files
|
66 |
path = './files'
|