vishnun commited on
Commit
472d2ae
1 Parent(s): 0caffa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -4,6 +4,9 @@ from nligraphspacy import NLIGRAPH
4
  def greet(text):
5
  nligraph = NLIGRAPH.RelationEntityExtract(text)
6
  return nligraph.get_seperate_entities()
7
-
8
- iface = gr.Interface(fn=greet, inputs="text", outputs="json")
 
 
 
9
  iface.launch()
 
4
  def greet(text):
5
  nligraph = NLIGRAPH.RelationEntityExtract(text)
6
  return nligraph.get_seperate_entities()
7
+
8
+ title = "Knowledge Graph NLP"
9
+ description = "<p style= 'color:yellow'>Understand components of sentences in a better way</p>"
10
+ article = "<p style= 'color:yellow; text-align:center;'><a href='https://github.com/Vishnunkumar/nligraphspacy' target='_blank'>nligraphspacy</a></p>"
11
+ iface = gr.Interface(fn=greet, inputs="text", outputs="json", title=title, description=description, article=article)
12
  iface.launch()