hadxu commited on
Commit
c897a05
1 Parent(s): 76532d7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ import huggingface_hub
17
 
18
  clinet = OpenAI(
19
  base_url='https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1/v1/',
20
- api_key=huggingface_hub.get_token(),
21
  )
22
 
23
  from util import pdf_to_text, text_to_chunks, SemanticSearch
 
17
 
18
  clinet = OpenAI(
19
  base_url='https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1/v1/',
20
+ api_key=os.getenv('key')
21
  )
22
 
23
  from util import pdf_to_text, text_to_chunks, SemanticSearch