Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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"):
|