Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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
|