Spaces:
Build error
Build error
revert tweak
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def feedback(text):
|
|
31 |
else:
|
32 |
suggestion = grammar_tokenizer.batch_decode(corrections[0], skip_special_tokens=True)
|
33 |
suggestion = [sug for sug in suggestion if '<' not in sug]
|
34 |
-
feedback = f'\'{"".join(suggestion)}\' might be a little better'
|
35 |
return feedback
|
36 |
|
37 |
iface = gr.Interface(
|
|
|
31 |
else:
|
32 |
suggestion = grammar_tokenizer.batch_decode(corrections[0], skip_special_tokens=True)
|
33 |
suggestion = [sug for sug in suggestion if '<' not in sug]
|
34 |
+
feedback = f'\'{" ".join(suggestion)}\' might be a little better'
|
35 |
return feedback
|
36 |
|
37 |
iface = gr.Interface(
|