berrkkaayy commited on
Commit
68f5f0b
1 Parent(s): 63b356e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,9 +9,9 @@ models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
9
  )
10
  model = models[0]
11
  TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
12
- generator = task.build_generator(model, cfg)
13
 
14
- text = "Merhaba, bu bir deneme çalışmasıdır."
15
 
16
  sample = TTSHubInterface.get_model_input(task, text)
17
  wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)
 
9
  )
10
  model = models[0]
11
  TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
12
+ generator = task.build_generator([model], cfg)
13
 
14
+ text = "Ankara'da servis şoförlüğü yapan ve sıkı bir Ankaragücü taraftarı olan benekli ayhan"
15
 
16
  sample = TTSHubInterface.get_model_input(task, text)
17
  wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)