ganeshkamath89 commited on
Commit
619e8b5
·
verified ·
1 Parent(s): 5a65659

Adding description and examples attributes

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,8 +5,10 @@ def greet(name, intensity):
5
 
6
  demo = gr.Interface (
7
  fn=greet,
 
 
8
  inputs=[gr.Textbox(lines=7, label="Story URL")],
9
  outputs=[gr.Textbox(lines=7, label="Story Summary")]
10
  )
11
 
12
- demo.launch()
 
5
 
6
  demo = gr.Interface (
7
  fn=greet,
8
+ description="Story generation with GPT-2",
9
+ examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]],
10
  inputs=[gr.Textbox(lines=7, label="Story URL")],
11
  outputs=[gr.Textbox(lines=7, label="Story Summary")]
12
  )
13
 
14
+ demo.launch(share=True)