dhanishetty commited on
Commit
99d0ef2
·
verified ·
1 Parent(s): d2bbaec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -29,6 +29,12 @@ def EntityRecognition(endpoint, key, statements):
29
 
30
  return output
31
 
32
-
 
 
 
 
 
 
33
 
34
  demo = gr.Interface( fn = EntityRecognition, inputs= [ gr.Textbox("https://t9xt.cognitiveservices.azure.com/",label="Enter your Endpoint URL", placeholder="URL", lines=1), gr.Textbox("46758f0003684f1b8c6fb73dfd7f98db",type = "password", label="Enter your API-Key", placeholder="API-Key", lines=1), gr.Textbox()], outputs= gr.Textbox(), title = title, description = description).launch()
 
29
 
30
  return output
31
 
32
+ title = "Azure Cognitive Services"
33
+ description = """
34
+ <img src = "https://nightingalehq.ai/knowledgebase/glossary/what-are-azure-cognitive-services/cognitive-services.jpg" width = 300px>
35
+ # Language Service : Named Entity Recognition (NER) to identify and categorize entities in unstructured text like people, places, organizations, and quantities.
36
+
37
+
38
+ """
39
 
40
  demo = gr.Interface( fn = EntityRecognition, inputs= [ gr.Textbox("https://t9xt.cognitiveservices.azure.com/",label="Enter your Endpoint URL", placeholder="URL", lines=1), gr.Textbox("46758f0003684f1b8c6fb73dfd7f98db",type = "password", label="Enter your API-Key", placeholder="API-Key", lines=1), gr.Textbox()], outputs= gr.Textbox(), title = title, description = description).launch()