edithram23 commited on
Commit
a96ffa3
·
verified ·
1 Parent(s): 1700cc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ if uploaded_file is not None:
191
  # print(words_out)
192
  words_out=sorted(words_out, key=len,reverse=True)
193
  if(len(words_out)>1):
194
- redacted_text+=words_out
195
  print(words_out)
196
  for i in words_out:
197
  redact_text(pg,i)
 
191
  # print(words_out)
192
  words_out=sorted(words_out, key=len,reverse=True)
193
  if(len(words_out)>1):
194
+ redacted_text+=[words_out]
195
  print(words_out)
196
  for i in words_out:
197
  redact_text(pg,i)