Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ app.add_middleware(
|
|
26 |
nlp = spacy.load("en_core_web_sm")
|
27 |
nlp_coref = spacy.load("en_coreference_web_trf")
|
28 |
|
29 |
-
REPLACE_PRONOUNS = {"he", "she", "they", "He", "She", "They"}
|
30 |
|
31 |
class CorefRequest(BaseModel):
|
32 |
text: str
|
|
|
26 |
nlp = spacy.load("en_core_web_sm")
|
27 |
nlp_coref = spacy.load("en_coreference_web_trf")
|
28 |
|
29 |
+
REPLACE_PRONOUNS = {"he","his", "she", "her", "they", "He", "His", "She", "Her", "They"}
|
30 |
|
31 |
class CorefRequest(BaseModel):
|
32 |
text: str
|