How to run it locally in vscode?

#19
by drpragyanandan - opened

Hello, I want to use this TTS model, running locally via VScode. GGUF file is also available in hugging face.
How to use it guide me step by step, I am new in coding.

1.Install Python & CUDA Environment:

Prerequisites

Download and install Python 3.10 or 3.11 (ensure "Add Python to PATH" is checked during installation).

Open VS code and then open a terminal
run below commands

mkdir veena_tts
cd veena_tts
python -m venv venv
venv\Scripts\activate

To use Veena, you need to install the transformers, torch, torchaudio, snac, and bitsandbytes libraries.

pip install transformers torch torchaudio
pip install snac bitsandbytes # For audio decoding and quantization

After completion create a file app.py at same path copy the python code given at - https://huggingface.co/Mungert/Veena-GGUF#installation

then run

python app.py

Sign up or log in to comment