GPT-2-story-gen / app.py
merve's picture
merve HF staff
Update app.py
d485e52
raw
history blame contribute delete
431 Bytes
import gradio as gr
from gradio import inputs
description = "Story generation with GPT-2"
interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
title = "Story Generation with GPT-2",
inputs = [
gr.inputs.Textbox(lines=7, label="Story"),
],
description=description,
examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]]
)
interface.launch()