Nassiraaa commited on
Commit
3468373
·
verified ·
1 Parent(s): 7484980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -28,9 +28,8 @@ if uploaded_file is not None:
28
 
29
  # Spelling and Grammar
30
  st.header("Spelling and Grammar")
31
- error_percentage = 100 - result['spelling_grammar_score']
32
- st.write(f"Error Percentage: {error_percentage:.2f}%")
33
- st.write(f"Spelling and Grammar Score: {result['spelling_grammar_score']:.2f} / 100")
34
 
35
  # Content Quality Analysis
36
  st.header("Content Quality Analysis")
 
28
 
29
  # Spelling and Grammar
30
  st.header("Spelling and Grammar")
31
+ st.write(f"Error Percentage: {result['spelling_grammar_error_percentage']:.2f}%")
32
+ st.write(f"Spelling and Grammar Score: {result['spelling_grammar_score']}")
 
33
 
34
  # Content Quality Analysis
35
  st.header("Content Quality Analysis")