Spaces:
Running
Running
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -338,7 +338,7 @@ if press_me_button:
|
|
338 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|
339 |
|
340 |
|
341 |
-
elif max_cnn_prob == 0
|
342 |
if extra_trees_prediction == predicted_author:
|
343 |
st.success(f"Most likely written by: **{extra_trees_name}**", icon="✅")
|
344 |
st.success(f"2nd Most likely written by: **{ridge_name}**", icon="✅")
|
|
|
338 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|
339 |
|
340 |
|
341 |
+
elif max_cnn_prob == 1.0:
|
342 |
if extra_trees_prediction == predicted_author:
|
343 |
st.success(f"Most likely written by: **{extra_trees_name}**", icon="✅")
|
344 |
st.success(f"2nd Most likely written by: **{ridge_name}**", icon="✅")
|