ganeshkamath89 commited on
Commit
d676c14
·
verified ·
1 Parent(s): 1cfb225

Changing outputs to gr.Textbox()

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,6 +10,6 @@ interface = gr.Interface(
10
  inputs=[gr.Textbox(lines=7, label="Story")],
11
  description="Story generation with GPT-2",
12
  examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]],
13
- outputs=[gr.inputs.Textbox(label='News Summary Output')]
14
  )
15
  interface.launch()
 
10
  inputs=[gr.Textbox(lines=7, label="Story")],
11
  description="Story generation with GPT-2",
12
  examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]],
13
+ outputs=[gr.Textbox(label='News Summary Output')]
14
  )
15
  interface.launch()