Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,10 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
|
| 5 |
img_text_pipe = pipeline("image-to-text",
|
| 6 |
-
model="
|
| 7 |
|
| 8 |
narrator = pipeline("text-to-speech",
|
| 9 |
-
model="
|
| 10 |
|
| 11 |
def describe_image(file_path):
|
| 12 |
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
img_text_pipe = pipeline("image-to-text",
|
| 6 |
+
model="Salesforce/blip-image-captioning-base")
|
| 7 |
|
| 8 |
narrator = pipeline("text-to-speech",
|
| 9 |
+
model="kakao-enterprise/vits-ljs")
|
| 10 |
|
| 11 |
def describe_image(file_path):
|
| 12 |
|