Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,6 +17,6 @@ if st.button("Check Typosquatting"):
|
|
| 17 |
prediction = model.predict(inputs)[0]
|
| 18 |
print(prediction)
|
| 19 |
if prediction > threshold:
|
| 20 |
-
st.success(f"The model predicts that '{
|
| 21 |
else:
|
| 22 |
-
st.warning(f"The model predicts that '{
|
|
|
|
| 17 |
prediction = model.predict(inputs)[0]
|
| 18 |
print(prediction)
|
| 19 |
if prediction > threshold:
|
| 20 |
+
st.success(f"The model predicts that '{typosquat}' is likely a typosquatted version of '{domain}' with a score of {prediction}.")
|
| 21 |
else:
|
| 22 |
+
st.warning(f"The model predicts that '{typosquat}' is NOT likely a typosquatted version of '{domain}' with a score of {prediction}.")
|