JSY8 commited on
Commit
1578a76
·
verified ·
1 Parent(s): 971e74b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import re
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="gpt2")
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-large")
16
  storyer = pipeline("text-generation", model="gpt2")
17
  tts = pipeline("text-to-speech", model="facebook/mms-tts-eng")
18
  return captioner, storyer, tts