Spaces:
Running
Running
Update app.py
Browse files
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
|