Mishmosh commited on
Commit
1b73742
·
1 Parent(s): 15d75a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -286,8 +286,9 @@ from transformers import pipeline
286
  from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech
287
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
288
  model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
289
- text = "The future belongs to those who believe in the beauty of their dreams."
290
  #text = (summarized_text_list_list)
 
291
 
292
  #inputs = processor(text=summarized_text_list_list, return_tensors="pt")
293
  #inputs = processor("Michelletest", return_tensors="pt")
 
286
  from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech
287
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
288
  model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
289
+ #text = "The future belongs to those who believe in the beauty of their dreams."
290
  #text = (summarized_text_list_list)
291
+ text = (summarized_text)
292
 
293
  #inputs = processor(text=summarized_text_list_list, return_tensors="pt")
294
  #inputs = processor("Michelletest", return_tensors="pt")