bubuuunel commited on
Commit
ba81c2d
·
verified ·
1 Parent(s): d183204

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,11 +23,11 @@ from dotenv import load_dotenv
23
  from dotenv import load_dotenv
24
 
25
 
26
- os.environ["esecret_d562krg29niu6c77nmxug5rvuj"]=os.getenv("esecret_d562krg29niu6c77nmxug5rvuj")
27
 
28
  client = OpenAI(
29
  base_url="https://api.endpoints.anyscale.com/v1",
30
- api_key=os.environ['esecret_d562krg29niu6c77nmxug5rvuj']
31
  )
32
 
33
  # Define the embedding model and the vectorstore
 
23
  from dotenv import load_dotenv
24
 
25
 
26
+ os.environ["anyscale_api_key"]=os.getenv("anyscale_api_key")
27
 
28
  client = OpenAI(
29
  base_url="https://api.endpoints.anyscale.com/v1",
30
+ api_key=os.environ['anyscale_api_key']
31
  )
32
 
33
  # Define the embedding model and the vectorstore