JulesBelveze commited on
Commit
ec41680
1 Parent(s): c93f1bf

chore: add description to interface

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -46,6 +46,11 @@ def greet(text, relations, to_enrich):
46
 
47
  iface = gr.Interface(
48
  fn=greet,
 
 
 
 
 
49
  inputs=[
50
  gr.Textbox(placeholder="Enter sentence here...", lines=5, value="I love eating pizzas"),
51
  gr.CheckboxGroup(choices=LIST_RELATIONS, value=["IsA"]),
 
46
 
47
  iface = gr.Interface(
48
  fn=greet,
49
+ title="Playground for concepCy",
50
+ description="This demo enables you to play around with SpaCy's concepCy wrapper, a wrapper for ConceptNet!"
51
+ "To get started: enter a piece of text, check the relations you are interested in and if you want to "
52
+ "retrieve relations at a document-level and/or token-level.\n"
53
+ "Relations will be displayed as tables on the right hand side! Have fun!",
54
  inputs=[
55
  gr.Textbox(placeholder="Enter sentence here...", lines=5, value="I love eating pizzas"),
56
  gr.CheckboxGroup(choices=LIST_RELATIONS, value=["IsA"]),