thiagohersan commited on
Commit
8a21543
·
verified ·
1 Parent(s): afb7934

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-xl")
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