import streamlit as st def render_header(): st.markdown("
Select or drag an image below to analyze it.
", unsafe_allow_html=True) def render_result(is_fake, confidence_percentage): if is_fake: box_class = "result-box-fake" display_label = "AI-Generated (Fake)" color_fill = "#8b5cf6" else: box_class = "result-box-real" display_label = "Authentic (Real)" color_fill = "#7dd3fc" st.balloons() html_result = f"""