Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from PIL import Image
|
|
10 |
# Initialize pipelines
|
11 |
@st.cache_resource
|
12 |
def load_pipelines():
|
13 |
-
captioner = pipeline("image-to-text", model="Salesforce/blip-image-captioning-
|
14 |
storyer = pipeline("text-generation", model="aspis/gpt2-genre-story-generation")
|
15 |
tts = pipeline("text-to-speech", model="facebook/mms-tts-eng")
|
16 |
return captioner, storyer, tts
|
|
|
10 |
# Initialize pipelines
|
11 |
@st.cache_resource
|
12 |
def load_pipelines():
|
13 |
+
captioner = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
|
14 |
storyer = pipeline("text-generation", model="aspis/gpt2-genre-story-generation")
|
15 |
tts = pipeline("text-to-speech", model="facebook/mms-tts-eng")
|
16 |
return captioner, storyer, tts
|