Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,11 @@ iface = gr.Interface(
|
|
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
|
|
|
28 |
""",
|
29 |
examples=[["assets/image.jpg", "Mistral-7B"]],
|
30 |
)
|
|
|
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 part of a calibrated prompt for a language model to
|
28 |
+
generate a story.
|
29 |
""",
|
30 |
examples=[["assets/image.jpg", "Mistral-7B"]],
|
31 |
)
|