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