sohom004 commited on
Commit
42efe4e
·
verified ·
1 Parent(s): 14f66d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #result = resolver.resolve_with_confidence(text)
20
- return text
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: