jaifar530 commited on
Commit
0eba021
ยท
unverified ยท
1 Parent(s): a6e3afc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -23
app.py CHANGED
@@ -333,30 +333,30 @@ if press_me_button:
333
  st.info("We are quite confident in the accuracy of this result.", icon="โ„น๏ธ")
334
 
335
 
336
- elif sorted_probabilities[0][0] == 0.1 :
337
- elif extra_trees_prediction == predicted_author:
338
- st.success(f"Most likely written by: **{extra_trees_name}**", icon="โœ…")
339
- st.success(f"2nd Most likely written by: **{ridge_name}**", icon="โœ…")
340
- st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="โš ๏ธ")
341
- st.write("_" * 30)
342
- # rain(
343
- # emoji="๐Ÿ˜",
344
- # font_size=54,
345
- # falling_speed=5,
346
- # animation_length="infinite",
347
- # )
348
 
349
- elif ridge_prediction == predicted_author:
350
- st.success(f"Most likely written by: **{ridge_name}**", icon="โœ…")
351
- st.success(f"2nd Most likely written by: **{extra_trees_name}**", icon="โœ…")
352
- st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="โš ๏ธ")
353
- st.write("_" * 30)
354
- # rain(
355
- # emoji="๐Ÿ˜",
356
- # font_size=54,
357
- # falling_speed=5,
358
- # animation_length="infinite",
359
- # )
360
 
361
  else:
362
  # Repeat the text with a space at the end of each iteration
 
333
  st.info("We are quite confident in the accuracy of this result.", icon="โ„น๏ธ")
334
 
335
 
336
+ # elif sorted_probabilities[0][0] == 0.1 :
337
+ # elif extra_trees_prediction == predicted_author:
338
+ # st.success(f"Most likely written by: **{extra_trees_name}**", icon="โœ…")
339
+ # st.success(f"2nd Most likely written by: **{ridge_name}**", icon="โœ…")
340
+ # st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="โš ๏ธ")
341
+ # st.write("_" * 30)
342
+ # # rain(
343
+ # # emoji="๐Ÿ˜",
344
+ # # font_size=54,
345
+ # # falling_speed=5,
346
+ # # animation_length="infinite",
347
+ # # )
348
 
349
+ # elif ridge_prediction == predicted_author:
350
+ # st.success(f"Most likely written by: **{ridge_name}**", icon="โœ…")
351
+ # st.success(f"2nd Most likely written by: **{extra_trees_name}**", icon="โœ…")
352
+ # st.warning(f"**Notice:** The input text has been magnified {amplify} times to better capture its characteristics and patterns.", icon="โš ๏ธ")
353
+ # st.write("_" * 30)
354
+ # # rain(
355
+ # # emoji="๐Ÿ˜",
356
+ # # font_size=54,
357
+ # # falling_speed=5,
358
+ # # animation_length="infinite",
359
+ # # )
360
 
361
  else:
362
  # Repeat the text with a space at the end of each iteration