Hawoly18 commited on
Commit
6456881
·
verified ·
1 Parent(s): 2903747

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -39,8 +39,8 @@ import soundfile as sf
39
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
40
 
41
  # Chargement du modèle et du tokenizer
42
- model = ParlerTTSForConditionalGeneration.from_pretrained("Moustapha91/parler-tts-wolof").to(device)
43
- tokenizer = AutoTokenizer.from_pretrained("Moustapha91/parler-tts-wolof")
44
 
45
  # Définition du texte d'entrée (exemple en wolof)
46
  prompt = """Am na yoon yu bari yoo mëna amee xaalis ngir sa projet: Liggéeyandoo ak: Sàkku jàppale ci yokkute mbay ak transformation produit yi. Defar bu baax sa projet te jokkoo ak ñoom. Banqi yi: Demal ci banq yi ngir ñu may la crédit ngir tambali sa projet"""
@@ -70,6 +70,7 @@ La qualité de l'audio peut être modifiée en ajustant la description fournie a
70
  description = "Aida speaks slowly with a very clear recording but a monotone voice."
71
  description = "Adia's speech is very quiet and monotone, delivered with a very small amount of discernible expression."
72
  description = "Adia's voice comes across as very monotone, speaking slowly with very clear sounds and no background noise."
 
73
  ```
74
 
75
  En variant la description, vous pouvez obtenir une sortie vocale différente en termes de clarté, d'expression et de débit.
 
39
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
40
 
41
  # Chargement du modèle et du tokenizer
42
+ model = ParlerTTSForConditionalGeneration.from_pretrained("CONCREE/Adia_TTS").to(device)
43
+ tokenizer = AutoTokenizer.from_pretrained("CONCREE/Adia_TTS")
44
 
45
  # Définition du texte d'entrée (exemple en wolof)
46
  prompt = """Am na yoon yu bari yoo mëna amee xaalis ngir sa projet: Liggéeyandoo ak: Sàkku jàppale ci yokkute mbay ak transformation produit yi. Defar bu baax sa projet te jokkoo ak ñoom. Banqi yi: Demal ci banq yi ngir ñu may la crédit ngir tambali sa projet"""
 
70
  description = "Aida speaks slowly with a very clear recording but a monotone voice."
71
  description = "Adia's speech is very quiet and monotone, delivered with a very small amount of discernible expression."
72
  description = "Adia's voice comes across as very monotone, speaking slowly with very clear sounds and no background noise."
73
+ description = "A warm, natural, and friendly voice with a steady pace and clear pronunciation. The audio is crisp with no background noise, and the delivery is expressive but calm, giving a conversational feel."
74
  ```
75
 
76
  En variant la description, vous pouvez obtenir une sortie vocale différente en termes de clarté, d'expression et de débit.