Spaces:
Runtime error
Runtime error
Updating Title for Textboxes
Browse files
app.py
CHANGED
@@ -15,10 +15,8 @@ demo = gr.Interface (
|
|
15 |
["Fate has it's own plans for the common man, which is why we philosophise on the observationg giving it our own interpretation."],
|
16 |
["The bear reached the river and spotted a school of fish. His hunger started taking its toll."]
|
17 |
],
|
18 |
-
gr.
|
19 |
-
[
|
20 |
-
gr.Text(label="Entities")
|
21 |
-
]
|
22 |
)
|
23 |
|
24 |
demo.launch(share=True)
|
|
|
15 |
["Fate has it's own plans for the common man, which is why we philosophise on the observationg giving it our own interpretation."],
|
16 |
["The bear reached the river and spotted a school of fish. His hunger started taking its toll."]
|
17 |
],
|
18 |
+
inputs=[gr.Textbox(lines=7, label="Text")],
|
19 |
+
outputs=[gr.Textbox(lines=7, label="Story NER")]
|
|
|
|
|
20 |
)
|
21 |
|
22 |
demo.launch(share=True)
|