Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -311,9 +311,9 @@ def inference(input_batch,isurl,use_archive,limit_companies=10):
|
|
311 |
title = "ESG API Demo"
|
312 |
description = """This is a demonstration of the full ESG pipeline backend where given a list of URL (english, news) the news contents are extracted, using extractnet, and fed to three models:
|
313 |
|
|
|
|
|
314 |
- An off-the-shelf sentiment classification model (ProsusAI/finbert)
|
315 |
-
- A custom NER for the company extraction
|
316 |
-
- A custom ESG classifier for the ESG labeling of the news (the extracted text is also lemmatised prior to be fed to this classifier)
|
317 |
|
318 |
API input parameters:
|
319 |
- List: list of text. Either list of Url of the news (english) or list of extracted news contents
|
|
|
311 |
title = "ESG API Demo"
|
312 |
description = """This is a demonstration of the full ESG pipeline backend where given a list of URL (english, news) the news contents are extracted, using extractnet, and fed to three models:
|
313 |
|
314 |
+
- A custom scheme for company extraction
|
315 |
+
- A custom ESG classifier for the ESG labeling of the news
|
316 |
- An off-the-shelf sentiment classification model (ProsusAI/finbert)
|
|
|
|
|
317 |
|
318 |
API input parameters:
|
319 |
- List: list of text. Either list of Url of the news (english) or list of extracted news contents
|