Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ st.write("Enter two domains to check if one is a typosquatted variant of the oth
|
|
13 |
# model_path = f"./{model_choice}"
|
14 |
# model = CrossEncoder(model_path)
|
15 |
model_choice="CE-typosquat-detect-Canine"
|
16 |
-
|
|
|
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)
|
|
|
13 |
# model_path = f"./{model_choice}"
|
14 |
# model = CrossEncoder(model_path)
|
15 |
model_choice="CE-typosquat-detect-Canine"
|
16 |
+
model_path = f"./{model_choice}"
|
17 |
+
model = CrossEncoder(model_path)
|
18 |
domain = st.text_input("Enter the legitimate domain name:")
|
19 |
typosquat = st.text_input("Enter the potentially typosquatted domain name:")
|
20 |
threshold = st.slider("Set detection threshold", 0.0, 1.0, 0.5)
|