Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|