Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,9 +69,9 @@ if user_input == "":
|
|
| 69 |
|
| 70 |
y_score = pred([user_input])
|
| 71 |
if y_score[0] < 0.5:
|
| 72 |
-
st.success(f"θ―₯ζζ¬
|
| 73 |
else:
|
| 74 |
-
st.error(f"θ―₯ζζ¬
|
| 75 |
|
| 76 |
st.subheader("SHAP εε₯ε―θ§£ιζ§εζ")
|
| 77 |
try:
|
|
|
|
| 69 |
|
| 70 |
y_score = pred([user_input])
|
| 71 |
if y_score[0] < 0.5:
|
| 72 |
+
st.success(f"θ―₯ζζ¬ζ―ζΊε¨ηζηζ¦ηδΈΊ {y_score[0]*100:.2f}%", icon="π§π»βπ»")
|
| 73 |
else:
|
| 74 |
+
st.error(f"θ―₯ζζ¬ζ―ζΊε¨ηζηζ¦ηδΈΊ {y_score[0]*100:.2f}%", icon="π€")
|
| 75 |
|
| 76 |
st.subheader("SHAP εε₯ε―θ§£ιζ§εζ")
|
| 77 |
try:
|