Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -449,7 +449,7 @@ if st.session_state.analysis_stage >= 2 and st.session_state.ensemble_result is
|
|
449 |
elif vote_malicious > 3: # Malicious votes greater than 3
|
450 |
st.error("🚨 SQL Injection Detected by Majority Vote!")
|
451 |
else: # Tie or ambiguous case (e.g., 2 safe, 2 malicious)
|
452 |
-
|
453 |
|
454 |
# Reset button
|
455 |
if st.button("Analyze Another Query"):
|
|
|
449 |
elif vote_malicious > 3: # Malicious votes greater than 3
|
450 |
st.error("🚨 SQL Injection Detected by Majority Vote!")
|
451 |
else: # Tie or ambiguous case (e.g., 2 safe, 2 malicious)
|
452 |
+
st.warning("⚠️ Ambiguous result: The votes are evenly split. Please cross-check the query manually.")
|
453 |
|
454 |
# Reset button
|
455 |
if st.button("Analyze Another Query"):
|