alp commited on
Commit
8f87607
1 Parent(s): 2da699e

sent change

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -12,8 +12,8 @@ my_title = "Catotron Text-to-Speech"
12
  my_description = "This model is based on Fast Speech implemented in 馃惛 [Coqui.ai](https://coqui.ai/)."
13
 
14
  my_examples = [
15
- ["Catotron, sintesi de la parla obert i lliure en catal脿"],
16
- ["Ada Lovelace va ser la primera programadora en la hist貌ria dels ordinadors."],
17
  ["S'espera un dia anticicl貌nic amb temperatures suaus i vent fluix."]
18
  ]
19
 
@@ -29,14 +29,6 @@ def tts(text: str, split_sentences: bool = True):
29
  vocoder_model = hf_hub_download(repo_id=REPO_ID, filename="ljspeech--hifigan_v2_model_file.pth")
30
  vocoder_config = hf_hub_download(repo_id=REPO_ID, filename="ljspeech--hifigan_v2_config.json")
31
 
32
- # synthesizer = Synthesizer(
33
- # best_model_path,
34
- # config_path,
35
- # vocoder_model,
36
- # vocoder_config,
37
- # use_cuda=CUDA
38
- # )
39
-
40
  synthesizer = Synthesizer(
41
  tts_checkpoint=best_model_path,
42
  tts_config_path=config_path,
 
12
  my_description = "This model is based on Fast Speech implemented in 馃惛 [Coqui.ai](https://coqui.ai/)."
13
 
14
  my_examples = [
15
+ ["Catotron, sintesi de la parla obert i lliure en catal脿."],
16
+ ["Leonor Ferrer Girabau va ser una delineant, mestra i activista barcelonina, nascuda al carrer actual de la Conc貌rdia del Poble-sec, que es va convertir en la primera dona a obtenir el t铆tol de delineant a Catalunya i a l鈥檈stat."],
17
  ["S'espera un dia anticicl貌nic amb temperatures suaus i vent fluix."]
18
  ]
19
 
 
29
  vocoder_model = hf_hub_download(repo_id=REPO_ID, filename="ljspeech--hifigan_v2_model_file.pth")
30
  vocoder_config = hf_hub_download(repo_id=REPO_ID, filename="ljspeech--hifigan_v2_config.json")
31
 
 
 
 
 
 
 
 
 
32
  synthesizer = Synthesizer(
33
  tts_checkpoint=best_model_path,
34
  tts_config_path=config_path,