Skip to content

Commit

Permalink
remove staging credentials use in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Feb 4, 2025
1 parent 74581f9 commit 261eba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/deno/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { whoAmI, listFiles } from "npm:@huggingface/hub@*";
const info = await whoAmI({ credentials: { accessToken: "hf_hub.js" }, hubUrl: "https://hub-ci.huggingface.co" });
console.log(info);

for await (const file of listFiles({ credentials: { accessToken: "hf_hub.js" }, repo: "gpt2" })) {
for await (const file of listFiles({ repo: "gpt2" })) {
console.log(file);
}

Expand Down

0 comments on commit 261eba8

Please sign in to comment.