Spaces:
Running
Running
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -335,7 +335,7 @@ if press_me_button:
|
|
335 |
|
336 |
|
337 |
elif max_prob == 0.1:
|
338 |
-
|
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="⚠️")
|