Update app.py
Browse files
app.py
CHANGED
@@ -127,6 +127,8 @@ edge_labels = [
|
|
127 |
if line and not line.startswith("#")
|
128 |
]
|
129 |
|
|
|
|
|
130 |
def render_table(forms, lemmas, upos, xpos, feats, named_entities):
|
131 |
feats = [[f"*{f.split('=')[0]}:* {f.split('=')[1]}" for f in (feat.split("|")) if '=' in f] for feat in feats]
|
132 |
max_len = max(1, max([len(feat) for feat in feats]))
|
|
|
127 |
if line and not line.startswith("#")
|
128 |
]
|
129 |
|
130 |
+
print(ne, flush=True)
|
131 |
+
|
132 |
def render_table(forms, lemmas, upos, xpos, feats, named_entities):
|
133 |
feats = [[f"*{f.split('=')[0]}:* {f.split('=')[1]}" for f in (feat.split("|")) if '=' in f] for feat in feats]
|
134 |
max_len = max(1, max([len(feat) for feat in feats]))
|