Spaces:
Runtime error
Runtime error
jaifar530 commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -321,11 +321,10 @@ if press_me_button:
|
|
| 321 |
|
| 322 |
cnn_name, ridge_name, extra_trees_name = get_author_display_name(predicted_author, ridge_prediction, extra_trees_prediction)
|
| 323 |
with st.expander("Show More Details..."):
|
| 324 |
-
st.write(f""
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
""")
|
| 329 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|
| 330 |
st.success(f"Most likely written by: **{ridge_name}**", icon="✅")
|
| 331 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|
|
|
|
| 321 |
|
| 322 |
cnn_name, ridge_name, extra_trees_name = get_author_display_name(predicted_author, ridge_prediction, extra_trees_prediction)
|
| 323 |
with st.expander("Show More Details..."):
|
| 324 |
+
st.write(f"Ridge: {ridge_name}")
|
| 325 |
+
st.write(f"ExtraTree: {extra_trees_name}")
|
| 326 |
+
st.write(f"CNN: {cnn_name}")
|
| 327 |
+
|
|
|
|
| 328 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|
| 329 |
st.success(f"Most likely written by: **{ridge_name}**", icon="✅")
|
| 330 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|