Skip to content

Commit

Permalink
token
Browse files Browse the repository at this point in the history
  • Loading branch information
yashitz07 committed Jun 21, 2024
1 parent 034f4f8 commit 836a903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mern-server/models/huggingface.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function query(data) {
"https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1",
{
headers: {
Authorization: `Bearer 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`,
Authorization: `Bearer ${process.env.HUGGING_FACE_API_KEY}`,
'Content-Type': 'application/json'
},
method: "POST",
Expand Down

0 comments on commit 836a903

Please sign in to comment.