Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ from openai import OpenAI
|
|
22 |
# Create Client
|
23 |
client = OpenAI(
|
24 |
base_url="https://api.endpoints.anyscale.com/v1",
|
25 |
-
api_key=anyscale_api_key
|
26 |
)
|
27 |
|
28 |
# Define the embedding model and the vectorstore
|
|
|
22 |
# Create Client
|
23 |
client = OpenAI(
|
24 |
base_url="https://api.endpoints.anyscale.com/v1",
|
25 |
+
api_key=os.environ['anyscale_api_key']
|
26 |
)
|
27 |
|
28 |
# Define the embedding model and the vectorstore
|