Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ if Run_Button == True:
|
|
| 46 |
# o["entity_group"] = id2label[int(o["entity_group"].split("_")[-1])]
|
| 47 |
# output_new.append(o)
|
| 48 |
|
| 49 |
-
df = pd.DataFrame.from_dict(
|
| 50 |
|
| 51 |
if aggregation != "none":
|
| 52 |
df.rename(index=str,columns={'entity_group':'POS Tag'},inplace=True)
|
|
|
|
| 46 |
# o["entity_group"] = id2label[int(o["entity_group"].split("_")[-1])]
|
| 47 |
# output_new.append(o)
|
| 48 |
|
| 49 |
+
df = pd.DataFrame.from_dict(output)
|
| 50 |
|
| 51 |
if aggregation != "none":
|
| 52 |
df.rename(index=str,columns={'entity_group':'POS Tag'},inplace=True)
|