init
Browse files
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=
|
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
|