koey811 commited on
Commit
36b2d6a
·
verified ·
1 Parent(s): 8b7576f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ except ImportError:
27
  # Load the image captioning model
28
  caption_model = pipeline("image-to-text", model="unography/blip-large-long-cap")
29
 
30
- story_generator = pipeline("text-generation", model="mosaicml/mpt-7b-storywriter", trust_remote_code=True)
31
 
32
  def generate_caption(image):
33
  # Generate the caption for the uploaded image
 
27
  # Load the image captioning model
28
  caption_model = pipeline("image-to-text", model="unography/blip-large-long-cap")
29
 
30
+ story_generator = pipeline("text-generation", model="ajibawa-2023/Young-Children-Storyteller-Mistral-7B")
31
 
32
  def generate_caption(image):
33
  # Generate the caption for the uploaded image