Spaces:
Running
Running
michal
commited on
Commit
•
172cdd5
1
Parent(s):
5031f81
hmm
Browse files
app.py
CHANGED
@@ -502,7 +502,7 @@ class ChatWrapper:
|
|
502 |
output = AUTH_ERR_MSG
|
503 |
hidden_text = output
|
504 |
|
505 |
-
if chain
|
506 |
# Set OpenAI key
|
507 |
import openai
|
508 |
openai.api_key = os.environ["OPENAI_API_KEY"] # OPENAI_API_KEY
|
|
|
502 |
output = AUTH_ERR_MSG
|
503 |
hidden_text = output
|
504 |
|
505 |
+
if chain:
|
506 |
# Set OpenAI key
|
507 |
import openai
|
508 |
openai.api_key = os.environ["OPENAI_API_KEY"] # OPENAI_API_KEY
|