chgrdj commited on
Commit
3aa5b89
1 Parent(s): b3240eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,8 +16,7 @@ if model_choice:
16
  # User inputs for domains and threshold
17
  domain = st.text_input("Enter the legitimate domain name:")
18
  typosquat = st.text_input("Enter the potentially typosquatted domain name:")
19
- st.write("Recommended threshold for detection is 0.3.")
20
- threshold = st.slider("Set detection threshold", 0.0, 1.0, 0.3)
21
 
22
  # Typosquatting detection on button click
23
  if st.button("Check Typosquatting"):
 
16
  # User inputs for domains and threshold
17
  domain = st.text_input("Enter the legitimate domain name:")
18
  typosquat = st.text_input("Enter the potentially typosquatted domain name:")
19
+ threshold = st.slider("Set detection threshold", 0.0, 1.0, 0.5)
 
20
 
21
  # Typosquatting detection on button click
22
  if st.button("Check Typosquatting"):