Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ categories=['cohesion', 'syntax', 'vocabulary', 'phraseology', 'grammar', 'conve
|
|
| 10 |
initial_scores = {category: '-' for category in categories}
|
| 11 |
scores_df = pd.DataFrame(initial_scores, index=['Score'])
|
| 12 |
|
| 13 |
-
pd.set_option('display.
|
| 14 |
|
| 15 |
text = "Here is a sample essay."
|
| 16 |
|
|
|
|
| 10 |
initial_scores = {category: '-' for category in categories}
|
| 11 |
scores_df = pd.DataFrame(initial_scores, index=['Score'])
|
| 12 |
|
| 13 |
+
pd.set_option('display.float_format', lambda x: '%0.1f' % x)
|
| 14 |
|
| 15 |
text = "Here is a sample essay."
|
| 16 |
|