ravi6k commited on
Commit
8cdce23
·
verified ·
1 Parent(s): c394229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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