Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,12 @@ iface = gr.Interface(
|
|
| 20 |
)
|
| 21 |
],
|
| 22 |
outputs="text",
|
| 23 |
-
title="
|
| 24 |
-
description="
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
examples=[["assets/image.jpg", "Mistral-7B"]],
|
| 26 |
)
|
| 27 |
|
|
|
|
| 20 |
)
|
| 21 |
],
|
| 22 |
outputs="text",
|
| 23 |
+
title="Bedtime Stories Generator",
|
| 24 |
+
description="""This space uses image captioning and language models to generate
|
| 25 |
+
stories. Upload an image, choose a model, and get a children's story based on it!
|
| 26 |
+
Images are first converted to text using a pre-trained image captioning model,
|
| 27 |
+
and then the text is used as a prompt for a language model to generate a story.
|
| 28 |
+
""",
|
| 29 |
examples=[["assets/image.jpg", "Mistral-7B"]],
|
| 30 |
)
|
| 31 |
|