chgrdj commited on
Commit
a9b456a
·
verified ·
1 Parent(s): 58bcc6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 '{sim_domain}' is likely a typosquatted version of '{domain}' with a score of {prediction}.")
21
  else:
22
- st.warning(f"The model predicts that '{sim_domain}' is NOT likely a typosquatted version of '{domain}' with a score of {prediction}.")
 
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}.")