Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
| 6 |
# caption = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
|
| 7 |
caption = pipeline("image-to-text", model="nlpconnect/vit-gpt2-image-captioning")
|
| 8 |
|
| 9 |
-
generate = pipeline("text-generation", model="openai-community/gpt2
|
| 10 |
|
| 11 |
tts = pipeline(task="text-to-speech", model="facebook/mms-tts-eng")
|
| 12 |
|
|
|
|
| 6 |
# caption = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
|
| 7 |
caption = pipeline("image-to-text", model="nlpconnect/vit-gpt2-image-captioning")
|
| 8 |
|
| 9 |
+
generate = pipeline("text-generation", model="openai-community/gpt2")
|
| 10 |
|
| 11 |
tts = pipeline(task="text-to-speech", model="facebook/mms-tts-eng")
|
| 12 |
|