TTS
Collection
6 items • Updated
How to use wasmdashai/vits-ar-sa-A with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-speech", model="wasmdashai/vits-ar-sa-A") # Load model directly
from transformers import AutoTokenizer, AutoModelForPreTraining
tokenizer = AutoTokenizer.from_pretrained("wasmdashai/vits-ar-sa-A")
model = AutoModelForPreTraining.from_pretrained("wasmdashai/vits-ar-sa-A", device_map="auto")