anderbogia commited on
Commit
0769ed0
·
verified ·
1 Parent(s): 431e989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,9 +65,10 @@ with gr.Blocks(theme = gr.themes.Soft()) as demo:
65
 
66
 
67
  def tts_run(input):
68
- tokenizer(input, return_tensors="pt")
 
69
  with torch.no_grad():
70
- output = model(**inputs).waveform
71
 
72
  gradio_tuple = [16000, output]
73
 
 
65
 
66
 
67
  def tts_run(input):
68
+ tokenizer_tts(input, return_tensors="pt")
69
+
70
  with torch.no_grad():
71
+ output = model_tts(**inputs).waveform
72
 
73
  gradio_tuple = [16000, output]
74