ss900371tw commited on
Commit
a8a65d6
·
verified ·
1 Parent(s): 18065d4

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -815,6 +815,6 @@ if st.session_state.get("batch_results") and isinstance(st.session_state.batch_r
815
  download_url = create_download_link(csv_content, 'medium_risk_report')
816
  st.markdown(download_url, unsafe_allow_html=True)
817
 
818
- else:
819
  st.info("👍 未檢測到任何標註為 High-risk detected 的 Log。")
820
 
 
815
  download_url = create_download_link(csv_content, 'medium_risk_report')
816
  st.markdown(download_url, unsafe_allow_html=True)
817
 
818
+ if not high_risk_items and not medium_risk_items:
819
  st.info("👍 未檢測到任何標註為 High-risk detected 的 Log。")
820