Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,8 @@ resolver = get_resolver()
|
|
| 16 |
|
| 17 |
@app.post(path="/api/v1/fastcoref")
|
| 18 |
def get_coref_resolution(text:str = Body(...)):
|
| 19 |
-
|
| 20 |
-
return
|
| 21 |
|
| 22 |
def get_container_cpu_count():
|
| 23 |
try:
|
|
|
|
| 16 |
|
| 17 |
@app.post(path="/api/v1/fastcoref")
|
| 18 |
def get_coref_resolution(text:str = Body(...)):
|
| 19 |
+
result = resolver.resolve_with_confidence(text)
|
| 20 |
+
return result
|
| 21 |
|
| 22 |
def get_container_cpu_count():
|
| 23 |
try:
|