Pablinho commited on
Commit
2657836
·
verified ·
1 Parent(s): 90483a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 generate a story.
 
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
  )