NMikka commited on
Commit
a1e1b08
ยท
verified ยท
1 Parent(s): c7b8e2b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -87,7 +87,7 @@ vocab_path = hf_hub_download("NMikka/F5-TTS-Georgian", "extended_vocab.txt")
87
 
88
  # Load a reference sample from the training dataset
89
  ds = load_dataset("NMikka/Common-Voice-Geo-Cleaned", split="test")
90
- ref_sample = ds[0] # Pick any sample as voice reference
91
 
92
  # Save reference audio to temp file (F5-TTS expects a file path)
93
  ref_path = "/tmp/ref.wav"
@@ -105,7 +105,7 @@ model = F5TTS(
105
  wav, sr, _ = model.infer(
106
  ref_file=ref_path,
107
  ref_text=ref_sample["text"],
108
- gen_text="แƒ’แƒแƒ›แƒแƒ แƒฏแƒแƒ‘แƒ, แƒ แƒแƒ’แƒแƒ  แƒฎแƒแƒ ? แƒกแƒแƒฅแƒแƒ แƒ—แƒ•แƒ”แƒšแƒ แƒฃแƒšแƒแƒ›แƒแƒ–แƒ”แƒกแƒ˜ แƒฅแƒ•แƒ”แƒงแƒแƒœแƒแƒ.",
109
  )
110
  sf.write("output.wav", wav, sr)
111
  ```
 
87
 
88
  # Load a reference sample from the training dataset
89
  ds = load_dataset("NMikka/Common-Voice-Geo-Cleaned", split="test")
90
+ ref_sample = ds[92] # Pick any sample as voice reference, but this one is the one i used while testing alot.
91
 
92
  # Save reference audio to temp file (F5-TTS expects a file path)
93
  ref_path = "/tmp/ref.wav"
 
105
  wav, sr, _ = model.infer(
106
  ref_file=ref_path,
107
  ref_text=ref_sample["text"],
108
+ gen_text="แƒกแƒแƒฅแƒแƒ แƒ—แƒ•แƒ”แƒšแƒ แƒ›แƒ“แƒ”แƒ‘แƒแƒ แƒ”แƒแƒ‘แƒก แƒ™แƒแƒ•แƒ™แƒแƒกแƒ˜แƒ˜แƒก แƒ แƒ”แƒ’แƒ˜แƒแƒœแƒจแƒ˜, แƒ”แƒ•แƒ แƒแƒžแƒ˜แƒกแƒ แƒ“แƒ แƒแƒ–แƒ˜แƒ˜แƒก แƒ’แƒแƒกแƒแƒงแƒแƒ แƒ–แƒ”",
109
  )
110
  sf.write("output.wav", wav, sr)
111
  ```