Update src/streamlit_app.py

#1
Files changed (1) hide show
  1. src/streamlit_app.py +6 -5
src/streamlit_app.py CHANGED
@@ -56,12 +56,13 @@ def final_score(ai_prob, perplexity):
56
  # -------------------------------
57
  # Streamlit UI
58
  # -------------------------------
59
- st.set_page_config(page_title="AI Text Detector", page_icon="πŸ€–", layout="centered")
60
 
61
- st.markdown("""
62
- <h2 style='text-align: center; color: #4CAF50;'>πŸ€– AI vs Human Text Detector</h2>
63
- <p style='text-align: center;'>Enter a sentence to check if it was written by a human or generated by AI.</p>
64
- """, unsafe_allow_html=True)
 
65
 
66
  user_input = st.text_area("Enter your sentence here:", height=150)
67
 
 
56
  # -------------------------------
57
  # Streamlit UI
58
  # -------------------------------
59
+ st.set_page_config(page_title="AI Text Detector", page_icon="πŸ€–", layout="wide")
60
 
61
+ # st.markdown("""
62
+ # <h2 style='text-align: center; color: #4CAF50;'>πŸ€– AI vs Human Text Detector</h2>
63
+ # <p style='text-align: center;'>Enter a sentence to check if it was written by a human or generated by AI.</p>
64
+ # """, unsafe_allow_html=True)
65
+ # st.markdown("""<br><br><hr><br>""", unsafe_allow_html=True) # Spacer
66
 
67
  user_input = st.text_area("Enter your sentence here:", height=150)
68