Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,11 +33,11 @@ def AnalyzeSentiment(endpoint, key, statements):
|
|
| 33 |
|
| 34 |
title = "Azure Cognitive Services"
|
| 35 |
description = """
|
|
|
|
|
|
|
| 36 |
# Language Service : Use Natural Language Understanding (NLU) for Sentiment analysis and opinion mining.
|
| 37 |
-
<img src = "https://learn.microsoft.com/en-us/windows/images/azure-cognitive-services.png" width = 300px>
|
| 38 |
-
|
| 39 |
-
|
| 40 |
|
|
|
|
| 41 |
"""
|
| 42 |
|
| 43 |
demo = gr.Interface( fn = AnalyzeSentiment, inputs= [ gr.Textbox(label="Enter your Endpoint URL", placeholder="URL", lines=1), gr.Textbox(type = "password", label="Enter your API-Key", placeholder="API-Key", lines=1), gr.Textbox()], outputs= gr.Textbox(), title = title, description = description).launch()
|
|
|
|
| 33 |
|
| 34 |
title = "Azure Cognitive Services"
|
| 35 |
description = """
|
| 36 |
+
<img src = "<img src = "https://nightingalehq.ai/knowledgebase/glossary/what-are-azure-cognitive-services/cognitive-services.jpg" width = 300px>" width = 300px>
|
| 37 |
+
|
| 38 |
# Language Service : Use Natural Language Understanding (NLU) for Sentiment analysis and opinion mining.
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
|
| 41 |
"""
|
| 42 |
|
| 43 |
demo = gr.Interface( fn = AnalyzeSentiment, inputs= [ gr.Textbox(label="Enter your Endpoint URL", placeholder="URL", lines=1), gr.Textbox(type = "password", label="Enter your API-Key", placeholder="API-Key", lines=1), gr.Textbox()], outputs= gr.Textbox(), title = title, description = description).launch()
|