Spaces:
Runtime error
Runtime error
glitch0011
commited on
Commit
·
15aafe1
1
Parent(s):
13230d6
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ if text:
|
|
64 |
for result in formatted_results:
|
65 |
if not result["entity"].startswith("O"):
|
66 |
spanMendo.append((result["start"],result["end"],result["entity"]))
|
67 |
-
mendo.append(f"""Entity: {result["entity"]}, Start:{result["start"]}, End:{result["end"]}, word:{text[result["start"]:result["end"]]}, score:{result["score"]""")
|
68 |
|
69 |
# Base Model
|
70 |
|
|
|
64 |
for result in formatted_results:
|
65 |
if not result["entity"].startswith("O"):
|
66 |
spanMendo.append((result["start"],result["end"],result["entity"]))
|
67 |
+
mendo.append(f"""Entity: {result["entity"]}, Start:{result["start"]}, End:{result["end"]}, word:{text[result["start"]:result["end"]]}, score:{result["score"]}""")
|
68 |
|
69 |
# Base Model
|
70 |
|