Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def main():
|
|
38 |
|
39 |
st.success(
|
40 |
f"It's a Positive News.You can make your investment decision accordingly. Confidence Level is {pred_prob}%",icon="✅")
|
41 |
-
elif predict
|
42 |
st.warning(
|
43 |
f"It's a Negative News.Please Be Cautious. Confidence Level is {100 - pred_prob}%",icon="⚠️")
|
44 |
else:
|
|
|
38 |
|
39 |
st.success(
|
40 |
f"It's a Positive News.You can make your investment decision accordingly. Confidence Level is {pred_prob}%",icon="✅")
|
41 |
+
elif predict <=-0.2:
|
42 |
st.warning(
|
43 |
f"It's a Negative News.Please Be Cautious. Confidence Level is {100 - pred_prob}%",icon="⚠️")
|
44 |
else:
|