Simplify global parameters and align developer guidance
Browse files
README.md
CHANGED
|
@@ -32,7 +32,15 @@ Common resources are maintained once. Each SoC directory contains its hardware g
|
|
| 32 |
|
| 33 |
## Download with the official Hugging Face CLI
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
Install huggingface_hub during dependency setup, and activate the project virtual environment once:
|
| 38 |
|
|
@@ -42,7 +50,7 @@ source .venv/bin/activate
|
|
| 42 |
pip install --upgrade huggingface_hub
|
| 43 |
```
|
| 44 |
|
| 45 |
-
Keep using this activated terminal. In a new terminal,
|
| 46 |
|
| 47 |
### Download common resources
|
| 48 |
|
|
|
|
| 32 |
|
| 33 |
## Download with the official Hugging Face CLI
|
| 34 |
|
| 35 |
+
Set only AGORA_WORKSPACE and AGORA_SOC directly in the device terminal. Choose
|
| 36 |
+
any workspace path/name. No configuration file transfer is required:
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
export AGORA_WORKSPACE="$HOME/my-asr-demo"
|
| 40 |
+
export AGORA_SOC='QCS8550'
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
Follow the [five-step deployment guide](https://github.com/APLUX-Agora/audio8-asr-infinite-demo/blob/main/docs/AGORA_DEPLOY.md) to clone code and prepare the environment before downloading resources.
|
| 44 |
|
| 45 |
Install huggingface_hub during dependency setup, and activate the project virtual environment once:
|
| 46 |
|
|
|
|
| 50 |
pip install --upgrade huggingface_hub
|
| 51 |
```
|
| 52 |
|
| 53 |
+
Keep using this activated terminal. In a new terminal, set the same two variables, change to the code directory, and activate .venv again.
|
| 54 |
|
| 55 |
### Download common resources
|
| 56 |
|