jaifar530 commited on
Commit
7a03f44
·
unverified ·
1 Parent(s): 0f8b61e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -335,7 +335,7 @@ if press_me_button:
335
 
336
 
337
  elif max_prob == 0.1:
338
- elif extra_trees_prediction == predicted_author:
339
  st.success(f"Most likely written by: **{extra_trees_name}**", icon="✅")
340
  st.success(f"2nd Most likely written by: **{ridge_name}**", icon="✅")
341
  st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="⚠️")
 
335
 
336
 
337
  elif max_prob == 0.1:
338
+ if extra_trees_prediction == predicted_author:
339
  st.success(f"Most likely written by: **{extra_trees_name}**", icon="✅")
340
  st.success(f"2nd Most likely written by: **{ridge_name}**", icon="✅")
341
  st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="⚠️")