Spaces:
Running
Running
jaifar530
commited on
Update app.py
Browse files
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 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
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
|