| import gradio | |
| description = "Natural language generation with GPT-2" | |
| title = "Give GPT-2 a prompt and it will take it from there..." | |
| model_path = "huggingface/pranavpsv/gpt2-genre-story-generator" | |
| interface = gradio.Interface.load( | |
| model_path, | |
| description=description | |
| ) | |
| interface.launch() |