Spaces:
Runtime error
Runtime error
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -332,7 +332,7 @@ if press_me_button:
|
|
| 332 |
max_cnn_prob = float(sorted_probabilities[0][1])
|
| 333 |
|
| 334 |
if word_count < 10.0 or word_count > 1081.0:
|
| 335 |
-
st.
|
| 336 |
|
| 337 |
elif word_count < 256:
|
| 338 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|
|
|
|
| 332 |
max_cnn_prob = float(sorted_probabilities[0][1])
|
| 333 |
|
| 334 |
if word_count < 10.0 or word_count > 1081.0:
|
| 335 |
+
st.warning("For better prediction input texts between 10 and 1081", icon="ℹ️")
|
| 336 |
|
| 337 |
elif word_count < 256:
|
| 338 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|