Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,8 +82,8 @@ if Run_Button == True:
|
|
82 |
if ind == 0:
|
83 |
output_comb.append(entity)
|
84 |
elif output[ind]["start"] == output[ind-1]["end"]:
|
85 |
-
output_comb[
|
86 |
-
output_comb[
|
87 |
else:
|
88 |
output_comb.append(entity)
|
89 |
|
|
|
82 |
if ind == 0:
|
83 |
output_comb.append(entity)
|
84 |
elif output[ind]["start"] == output[ind-1]["end"]:
|
85 |
+
output_comb[-1]["word"] = output_comb[-1]["word"] + output[ind]["word"]
|
86 |
+
output_comb[-1]["end"] = output[ind]["end"]
|
87 |
else:
|
88 |
output_comb.append(entity)
|
89 |
|