Title: Provide documentation for instructions to call a python function with named parameters · Issue #6 · codehz/bun_python · GitHub
Open Graph Title: Provide documentation for instructions to call a python function with named parameters · Issue #6 · codehz/bun_python
X Title: Provide documentation for instructions to call a python function with named parameters · Issue #6 · codehz/bun_python
Description: Could not download 'speaker-diarization-3.1' pipeline. It might be because the pipeline is private or gated so make sure to authenticate. Visit https://hf.co/settings/tokens to create your access token and retry with: >>> Pipeline.from_p...
Open Graph Description: Could not download 'speaker-diarization-3.1' pipeline. It might be because the pipeline is private or gated so make sure to authenticate. Visit https://hf.co/settings/tokens to create your access t...
X Description: Could not download 'speaker-diarization-3.1' pipeline. It might be because the pipeline is private or gated so make sure to authenticate. Visit https://hf.co/settings/tokens to create your ...
Opengraph URL: https://github.com/codehz/bun_python/issues/6
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide documentation for instructions to call a python function with named parameters","articleBody":"```\nCould not download 'speaker-diarization-3.1' pipeline.\nIt might be because the pipeline is private or gated so make\nsure to authenticate. Visit https://hf.co/settings/tokens to\ncreate your access token and retry with:\n\n \u003e\u003e\u003e Pipeline.from_pretrained('speaker-diarization-3.1',\n ... use_auth_token=YOUR_AUTH_TOKEN)\n```\n\nI tried several patterns and failed to figure how to call the function correctly. Here is the code I was trying:\n```\n// Assign speaker labels\nconst diarizeModel = this.whisperx.DiarizationPipeline(\"speaker-diarization-3.1\", {use_auth_token: process.env.HF_TOKEN})\n```\nI also tried using kw to pass the use_auth_token param but still failed.\n```\nconst diarizeModel = this.whisperx.DiarizationPipeline(\"speaker-diarization-3.1\", kw`use_auth_token=${process.env.HF_TOKEN}`)\n```\nQuick advice would be highly appreciated.\nThanks!","author":{"url":"https://github.com/mighty-phoenix","@type":"Person","name":"mighty-phoenix"},"datePublished":"2025-01-28T14:10:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/6/bun_python/issues/6"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:47034a5c-a1e6-2220-5d13-dc57e76f8b39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 889C:14FB0B:84F4E1D:ABF2D79:6975DFEC |
| html-safe-nonce | bc9220dc834775f6518780952c8fd446fb9480910b986660f9ed1fd61dae3994 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODlDOjE0RkIwQjo4NEY0RTFEOkFCRjJENzk6Njk3NURGRUMiLCJ2aXNpdG9yX2lkIjoiNzA4MDUzNTY0ODMxNzU5NTYyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d1e2e4a7ad69a8d4ad165ad6b4751a0b136078297fdcf6d92c832a35085d192a |
| hovercard-subject-tag | issue:2815792606 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codehz/bun_python/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da234923f0f1f4042ed7c428d56a505d5e9a85c710825cec0b5acc64b7a83227/codehz/bun_python/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da234923f0f1f4042ed7c428d56a505d5e9a85c710825cec0b5acc64b7a83227/codehz/bun_python/issues/6 |
| og:image:alt | Could not download 'speaker-diarization-3.1' pipeline. It might be because the pipeline is private or gated so make sure to authenticate. Visit https://hf.co/settings/tokens to create your access t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mighty-phoenix |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/codehz/bun_python git https://github.com/codehz/bun_python.git |
| octolytics-dimension-user_id | 13158903 |
| octolytics-dimension-user_login | codehz |
| octolytics-dimension-repository_id | 681174080 |
| octolytics-dimension-repository_nwo | codehz/bun_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 681174080 |
| octolytics-dimension-repository_network_root_nwo | codehz/bun_python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fcca2b8ef702b5f7f91427a6e920fa44446fe312 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width