Spaces:
Build error
Build error
Update app.py
Browse files11 unmodified lines1213141516171811 unmodified linesprompt = ("Generate a fun, engaging, and kid-friendly story for children aged 3-10. ""Based on the following scenario, create a simple, imaginative narrative: " + text)text_generation_model = pipeline("text-generation", model="aspis/gpt2-genre-story-generation")11 unmodified lines121314151617181911 unmodified linesprompt = ("Generate a fun, engaging, and kid-friendly story for children aged 3-10. ""Based on the following scenario, create a simple, imaginative narrative that avoids repeating sentences. ""Keep the story creative and varied: " + text)text_generation_model = pipeline("text-generation", model="aspis/gpt2-genre-story-generation")
app.py+2-1