Devarsh24 commited on
Commit
9632884
·
verified ·
1 Parent(s): 10a06e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from transformers import pipeline
16
 
17
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
18
 
19
- narrator = pipeline("text-to-speech", model="facebook/mms-tts-en")
20
 
21
  # Load the pretrained weights
22
  caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
 
16
 
17
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
18
 
19
+ narrator = pipeline("text-to-speech", model="facebook/mms-tts-eng")
20
 
21
  # Load the pretrained weights
22
  caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")