Spaces:
Runtime error
Runtime error
Adding description and examples attributes
Browse files
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)
|