File size: 297 Bytes
a970736
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8

import gradio as gr
description = "Story generation with GPT-2"
interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator", 
    description=description,
    examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
)
interface.launch()