SinaAhmadi
commited on
Commit
•
59dfad3
1
Parent(s):
7a9e350
Update app.py
Browse files
app.py
CHANGED
@@ -77,8 +77,7 @@ def normalize(text, language_script):
|
|
77 |
tokenizer=tokenizer,
|
78 |
sequence_encoder=sequence_encoder,
|
79 |
)
|
80 |
-
test_data.set_item(text)
|
81 |
-
# test_data.set_item(INPUT.rstrip())
|
82 |
|
83 |
cfg=test_cfg
|
84 |
_, _, hypotheses, trg_tokens, trg_scores, _ = predict(
|
|
|
77 |
tokenizer=tokenizer,
|
78 |
sequence_encoder=sequence_encoder,
|
79 |
)
|
80 |
+
test_data.set_item(text.strip())
|
|
|
81 |
|
82 |
cfg=test_cfg
|
83 |
_, _, hypotheses, trg_tokens, trg_scores, _ = predict(
|