Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ threshold = st.slider("Set detection threshold", 0.0, 1.0, 0.5)
|
|
13 |
|
14 |
|
15 |
if st.button("Check Typosquatting"):
|
16 |
-
inputs = [(domain
|
17 |
prediction = model.predict(inputs)[0]
|
18 |
print(prediction)
|
19 |
if prediction > threshold:
|
|
|
13 |
|
14 |
|
15 |
if st.button("Check Typosquatting"):
|
16 |
+
inputs = [(sim_domain,domain)]
|
17 |
prediction = model.predict(inputs)[0]
|
18 |
print(prediction)
|
19 |
if prediction > threshold:
|