Skip to content
Snippets Groups Projects
Commit 1e19c6f9 authored by BIRK Renaud's avatar BIRK Renaud
Browse files

doc: HuggingFace configuration

parent 71b1a880
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,19 @@ Then, use the included scripts to install Archi Back:
chmod +x ./setup.sh && ./setup.sh
```
## Configuration
The back-end part send requests to the HuggingFace API.
Follow these steps to connect your account to the back-end:
1. Visit [this page](https://huggingface.co/settings/tokens/new?tokenType=read)
to create a new token (give it a name).
2. When your token is created, you should see its value. Copy the value in
`.env` file (replace `hf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` with your token,
make sure to keep `hf_token=` before!)
3. Your back-end should now be linked to your HuggingFace account.
## Usage
First, you should launch the back-end part:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment