Spaces:
Runtime error
Runtime error
Download app.py from gcapde/Ceibal-research: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/gcapde/Ceibal-research/resolve/main/app.py
- Command line
-
hf download hf://spaces/gcapde/Ceibal-research/app.py
-
curl -L -o app.py https://huggingface.co/spaces/gcapde/Ceibal-research/resolve/main/app.py
369 Bytes
| import gradio as gr | |
| description = "Story generation with GPT-2" | |
| title = "Generate your own story" | |
| examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]] | |
| interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator", | |
| description=description, | |
| examples=examples | |
| ) | |
| interface.launch() | |