Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -856,9 +856,9 @@ if code_input:
|
|
| 856 |
# st.write(features_dict) # Display feature dictionary
|
| 857 |
st.write("### Detection")
|
| 858 |
if probability_ai_lr > probability_human_lr:
|
| 859 |
-
st.
|
| 860 |
else:
|
| 861 |
-
|
| 862 |
|
| 863 |
|
| 864 |
|
|
|
|
| 856 |
# st.write(features_dict) # Display feature dictionary
|
| 857 |
st.write("### Detection")
|
| 858 |
if probability_ai_lr > probability_human_lr:
|
| 859 |
+
st.markdown(f"<b style='color:red'>This code is written using A.I: {probability_ai_lr:.4f}%</b>", unsafe_allow_html=True)
|
| 860 |
else:
|
| 861 |
+
st.markdown(f"<b style='color:green'>This code is written by Human: {probability_human_lr:.4f}%</b>", unsafe_allow_html=True)
|
| 862 |
|
| 863 |
|
| 864 |
|