Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,7 @@ def id_replace_complex(s, threshold=0.4):
|
|
42 |
# get top candidate for mask fill in complex token
|
43 |
top_result = fill_pipe(s)[0]
|
44 |
s = top_result['sequence']
|
|
|
45 |
replacements.append(top_result['token_str'])
|
46 |
return s, compl_tok, replacements
|
47 |
|
|
|
42 |
# get top candidate for mask fill in complex token
|
43 |
top_result = fill_pipe(s)[0]
|
44 |
s = top_result['sequence']
|
45 |
+
print(s)
|
46 |
replacements.append(top_result['token_str'])
|
47 |
return s, compl_tok, replacements
|
48 |
|