Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ if 'OPENAI_API_KEY' not in os.environ:
|
|
| 23 |
sys.exit(1)
|
| 24 |
|
| 25 |
# Set OpenAI API key
|
| 26 |
-
openai.api_key = os.environ['
|
| 27 |
|
| 28 |
# Initialize the client with the Mistral-7B-Instruct-v0.2 model
|
| 29 |
try:
|
|
|
|
| 23 |
sys.exit(1)
|
| 24 |
|
| 25 |
# Set OpenAI API key
|
| 26 |
+
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 27 |
|
| 28 |
# Initialize the client with the Mistral-7B-Instruct-v0.2 model
|
| 29 |
try:
|