Spaces:
Runtime error
Runtime error
Hugo Pitorro
commited on
Commit
·
a870b1d
1
Parent(s):
770184a
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def rank_candidate_text(sentences):
|
|
| 71 |
|
| 72 |
def full_pipeline(source, simpl_model, simpl_tok, tokens, lexical=False):
|
| 73 |
|
| 74 |
-
modified, complex_words = id_replace_complex(
|
| 75 |
source, threshold=0.2) if lexical else source, None
|
| 76 |
|
| 77 |
print(modified)
|
|
|
|
| 71 |
|
| 72 |
def full_pipeline(source, simpl_model, simpl_tok, tokens, lexical=False):
|
| 73 |
|
| 74 |
+
modified, complex_words = *id_replace_complex(
|
| 75 |
source, threshold=0.2) if lexical else source, None
|
| 76 |
|
| 77 |
print(modified)
|