basharat8763 commited on
Commit
323eaa3
·
verified ·
1 Parent(s): 8b0e56f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import scipy.io.wavfile as wavfile
6
  # Use a pipeline as a high-level helper
7
  from transformers import pipeline
8
 
9
- caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large",device=device)
10
 
11
  narrator = pipeline("text-to-speech", model="kakao-enterprise/vits-ljs")
12
 
 
6
  # Use a pipeline as a high-level helper
7
  from transformers import pipeline
8
 
9
+ caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
10
 
11
  narrator = pipeline("text-to-speech", model="kakao-enterprise/vits-ljs")
12