ylacombe HF staff commited on
Commit
4a0b304
1 Parent(s): 5c9ecd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ num_speakers = pipe.model.config.num_speakers
29
  def generate_audio(text, spkr_id):
30
 
31
  forward_params = {"spkr_id": spkr_id}
32
- output = pipeline(text, forward_params=forward_params)
33
 
34
  return (output["sampling_rate"], output["audio"].squeeze())
35
 
 
29
  def generate_audio(text, spkr_id):
30
 
31
  forward_params = {"spkr_id": spkr_id}
32
+ output = pipe(text, forward_params=forward_params)
33
 
34
  return (output["sampling_rate"], output["audio"].squeeze())
35