Pablinho commited on
Commit
ba9992f
·
verified ·
1 Parent(s): 7f1fe9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -20,8 +20,12 @@ iface = gr.Interface(
20
  )
21
  ],
22
  outputs="text",
23
- title="Kids Story Generator",
24
- description="Upload an image, choose a model, and get a kids story based on it!",
 
 
 
 
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