Spaces:
Sleeping
Sleeping
Victoria Shevchenko commited on
Commit ·
7d6269f
1
Parent(s): df2c973
added type hints
Browse files40 unmodified lines4142434445464740 unmodified linesreturn text@tooldef extract_entities(text, desired_entities):"""A tool that extracts entities from a text using spaCy.Args:text: A string representing the text to extract entities from.40 unmodified lines4142434445464740 unmodified linesreturn text@tooldef extract_entities(text: str, desired_entities: list) -> list:"""A tool that extracts entities from a text using spaCy.Args:text: A string representing the text to extract entities from.
app.py+1-1