Skip to content

Commit

Permalink
fix environment variable in windows #26
Browse files Browse the repository at this point in the history
  • Loading branch information
R3gm committed Mar 18, 2024
1 parent 086088b commit 66f6fb9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/windows_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ pip install -q -r requirements_xtts.txt
pip install -q TTS==0.21.1 --no-deps
```

7. Setting your [Hugging Face token](https://huggingface.co/settings/tokens) as an environment variable in quotes:

```
conda env config vars set YOUR_HF_TOKEN="YOUR_HUGGING_FACE_TOKEN_HERE"
conda deactivate
```


### Running SoniTranslate

Expand All @@ -94,12 +101,6 @@ To run SoniTranslate locally, make sure the `sonitr` conda environment is active
conda activate sonitr
```

Setting your Hugging Face token as an environment variable in Linux:

```
export YOUR_HF_TOKEN="YOUR_HUGGING_FACE_TOKEN"
```

Then navigate to the `SoniTranslate` folder and run either the `app_rvc.py`

```
Expand Down

1 comment on commit 66f6fb9

@robadugna2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: Failed building wheel for TTS
ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects

Please sign in to comment.