ganeshkamath89's picture
Changing the code to updated syntax
95e2df7 verified
raw
history blame
322 Bytes
import gradio as gr
description = "Story generation with GPT-2"
interface = gr.Interface(fn=None, title="Story Generation with GPT-2", inputs=[gr.Textbox(lines=7, label="Story")], description=description, examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]])
interface.launch()