preston-cell commited on
Commit
eade8cd
·
verified ·
1 Parent(s): ba2d445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ from transformers import pipeline
4
 
5
  pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
6
 
7
- narrator = pipeline("text-to-speech",
8
- model="./models/kakao-enterprise/vits-ljs")
9
 
10
  def launch(input):
11
  # Step 1: Extract text from image
 
4
 
5
  pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
6
 
7
+ narrator = pipeline("text-to-speech", model="kakao-enterprise/vits-ljs")
 
8
 
9
  def launch(input):
10
  # Step 1: Extract text from image