Spaces:
Runtime error
Runtime error
from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM | |
# Load the text-to-speech pipeline directly with the model | |
pipe = pipeline("text-to-speech", model="Lwasinam/voicera") | |
# Load the tokenizer and model separately if needed | |
tokenizer = AutoTokenizer.from_pretrained("Lwasinam/voicera") | |
model = AutoModelForCausalLM.from_pretrained("Lwasinam/voicera") | |