crcdng commited on
Commit
fbd3a33
1 Parent(s): 19f6e5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -30,7 +30,6 @@ def translate(audio):
30
 
31
  def synthesise(text):
32
  inputs = tokenizer(text, return_tensors="pt")
33
- input_ids = inputs["input_ids"]
34
  # inputs = processor(text=text, return_tensors="pt")
35
  speech = model.generate_speech(inputs["input_ids"].to(device), speaker_embeddings.to(device), vocoder=vocoder)
36
  return speech.cpu()
 
30
 
31
  def synthesise(text):
32
  inputs = tokenizer(text, return_tensors="pt")
 
33
  # inputs = processor(text=text, return_tensors="pt")
34
  speech = model.generate_speech(inputs["input_ids"].to(device), speaker_embeddings.to(device), vocoder=vocoder)
35
  return speech.cpu()