Test: print all results
Browse files
app.py
CHANGED
@@ -141,6 +141,7 @@ class GramformerDemo:
|
|
141 |
if input_text.strip():
|
142 |
results = gf.correct(input_text, max_candidates=max_candidates)
|
143 |
corrected_sentence, score = results[0]
|
|
|
144 |
st.markdown(f'#### Output:')
|
145 |
st.write('')
|
146 |
st.success(corrected_sentence)
|
|
|
141 |
if input_text.strip():
|
142 |
results = gf.correct(input_text, max_candidates=max_candidates)
|
143 |
corrected_sentence, score = results[0]
|
144 |
+
print(results)
|
145 |
st.markdown(f'#### Output:')
|
146 |
st.write('')
|
147 |
st.success(corrected_sentence)
|