Spaces:
Sleeping
Sleeping
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -327,7 +327,8 @@ if press_me_button:
|
|
327 |
st.write(f"{display_name}: {prob * 100:.2f}%")
|
328 |
st.progress(float(prob))
|
329 |
|
330 |
-
st.write(f"Sorted probab: {sorted_probabilities[0][
|
|
|
331 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|
332 |
st.success(f"Most likely written by: **{ridge_name}**", icon="✅")
|
333 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|
|
|
327 |
st.write(f"{display_name}: {prob * 100:.2f}%")
|
328 |
st.progress(float(prob))
|
329 |
|
330 |
+
st.write(f"Sorted probab: {sorted_probabilities[0][1] }")
|
331 |
+
|
332 |
if ridge_prediction == extra_trees_prediction == predicted_author:
|
333 |
st.success(f"Most likely written by: **{ridge_name}**", icon="✅")
|
334 |
st.info("We are quite confident in the accuracy of this result.", icon="ℹ️")
|