Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def claim(text):
|
|
172 |
who.append(substr)
|
173 |
else:
|
174 |
pass
|
175 |
-
who=list(set(who))
|
176 |
df['who'][j] = "<sep>".join(who)
|
177 |
# else:
|
178 |
# continue
|
@@ -235,7 +235,7 @@ def claim(text):
|
|
235 |
why.append(substr)
|
236 |
else:
|
237 |
pass
|
238 |
-
why=list(set(why))
|
239 |
|
240 |
df['why'][j] = "<sep>".join(why)
|
241 |
# else:
|
@@ -268,7 +268,7 @@ def claim(text):
|
|
268 |
when.append(substr)
|
269 |
else:
|
270 |
pass
|
271 |
-
when=list(set(when))
|
272 |
|
273 |
df['when'][j] = "<sep>".join(when)
|
274 |
# else:
|
@@ -302,7 +302,7 @@ def claim(text):
|
|
302 |
where.append(substr)
|
303 |
else:
|
304 |
pass
|
305 |
-
where=list(set(where))
|
306 |
|
307 |
df['where'][j] = "<sep>".join(where)
|
308 |
|
|
|
172 |
who.append(substr)
|
173 |
else:
|
174 |
pass
|
175 |
+
# who=list(set(who))
|
176 |
df['who'][j] = "<sep>".join(who)
|
177 |
# else:
|
178 |
# continue
|
|
|
235 |
why.append(substr)
|
236 |
else:
|
237 |
pass
|
238 |
+
# why=list(set(why))
|
239 |
|
240 |
df['why'][j] = "<sep>".join(why)
|
241 |
# else:
|
|
|
268 |
when.append(substr)
|
269 |
else:
|
270 |
pass
|
271 |
+
# when=list(set(when))
|
272 |
|
273 |
df['when'][j] = "<sep>".join(when)
|
274 |
# else:
|
|
|
302 |
where.append(substr)
|
303 |
else:
|
304 |
pass
|
305 |
+
# where=list(set(where))
|
306 |
|
307 |
df['where'][j] = "<sep>".join(where)
|
308 |
|