Skip to content

Commit

Permalink
Fixed instructions and default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexejPenner committed Oct 22, 2024
1 parent ebfd83d commit d0a7225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/book/component-guide/annotators/argilla.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ instance and its visibility is set to private, you must also set the
`extra_headers` parameter which would include a Hugging Face token. For example:

```shell
zenml annotator register argilla --flavor argilla --authentication_secret=argilla_secrets --instance_url="https://[your-owner-name]-[your_space_name].hf.space" --extra_headers="{"Authorization": f"Bearer {<your_hugging_face_token>}"}"
zenml annotator register argilla --flavor argilla --authentication_secret=argilla_secrets --instance_url="https://[your-owner-name]-[your_space_name].hf.space" --extra_headers='{"Authorization": "Bearer {<your_hugging_face_token>}"}'
```

Finally, add all these components to a stack and set it as your active stack.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ArgillaAnnotatorSettings(BaseSettings):
instance_url: str = DEFAULT_LOCAL_INSTANCE_URL
api_key: Optional[str] = SecretField(default=None)
workspace: Optional[str] = "admin"
port: Optional[int]
port: Optional[int] = None
extra_headers: Optional[str] = None
httpx_extra_kwargs: Optional[str] = None

Expand Down

0 comments on commit d0a7225

Please sign in to comment.