ChijoTheDatascientist
commited on
Commit
•
4a54e93
1
Parent(s):
23d48f4
updated inference API calling
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from langchain_core.output_parsers import StrOutputParser
|
|
10 |
hf_token = os.getenv("HF_TOKEN")
|
11 |
|
12 |
# Set up the Hugging Face Inference Client with the Bearer token
|
13 |
-
client = InferenceClient(api_key=
|
14 |
|
15 |
# Model paths and IDs
|
16 |
model_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
|
|
10 |
hf_token = os.getenv("HF_TOKEN")
|
11 |
|
12 |
# Set up the Hugging Face Inference Client with the Bearer token
|
13 |
+
client = InferenceClient(api_key=hf_token)
|
14 |
|
15 |
# Model paths and IDs
|
16 |
model_id = "mistralai/Mistral-7B-Instruct-v0.3"
|