Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,8 @@ st.write("Enter two domains to check if one is a typosquatted variant of the oth
|
|
| 9 |
|
| 10 |
domain = st.text_input("Enter the legitimate domain name:")
|
| 11 |
typosquat = st.text_input("Enter the potentially typosquatted domain name:")
|
| 12 |
-
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
if st.button("Check Typosquatting"):
|
|
|
|
| 9 |
|
| 10 |
domain = st.text_input("Enter the legitimate domain name:")
|
| 11 |
typosquat = st.text_input("Enter the potentially typosquatted domain name:")
|
| 12 |
+
st.write("Recommended threshold for detection is 0.3.")
|
| 13 |
+
threshold = st.slider("Set detection threshold", 0.0, 1.0, 0.3)
|
| 14 |
|
| 15 |
|
| 16 |
if st.button("Check Typosquatting"):
|