import streamlit as st def main(): # Main Container st.markdown('
', unsafe_allow_html=True) # Custom CSS with Poppins font st.markdown(""" """, unsafe_allow_html=True) # Header Section st.markdown('

🌐 TruthCheck - Open Source

', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Open Source Initiative st.markdown('
', unsafe_allow_html=True) st.markdown('

ā„¹ļø Open Source Vision

', unsafe_allow_html=True) st.markdown('

TruthCheck is an open-source powerhouse dedicated to combating misinformation with cutting-edge AI. We warmly invite innovators, developers, and data enthusiasts worldwide to join us. Your expertise can elevate our hybrid BERT-BiLSTM model, expand its reach, and redefine digital trust—together, we can make a lasting impact!

', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Getting Started st.markdown('
', unsafe_allow_html=True) st.markdown('

šŸš€ Get Started Now

', unsafe_allow_html=True) st.markdown('

Dive into TruthCheck by cloning and running it locally from our Hugging Face repository. Follow these steps to begin your journey:

', unsafe_allow_html=True) st.markdown('
    ', unsafe_allow_html=True) st.markdown('
  1. Clone the Repository: Secure the codebase with this command:
  2. ', unsafe_allow_html=True) st.markdown('
    git clone https://huggingface.co/spaces/adnaan05/TruthCheck
    ', unsafe_allow_html=True) st.markdown('
  3. Navigate to Directory: Enter the project folder:
  4. ', unsafe_allow_html=True) st.markdown('
    cd TruthCheck
    ', unsafe_allow_html=True) st.markdown('
  5. Install Dependencies: Set up the environment with:
  6. ', unsafe_allow_html=True) st.markdown('
    pip install -r requirements.txt
    ', unsafe_allow_html=True) st.markdown('
  7. Launch the App: Start the application with:
  8. ', unsafe_allow_html=True) st.markdown('
    streamlit run app.py
    ', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) st.markdown('

Explore the full codebase and details on our Hugging Face page.

', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Contributing via Pull Requests st.markdown('
', unsafe_allow_html=True) st.markdown('

šŸ¤ Contribute with Pull Requests

', unsafe_allow_html=True) st.markdown('

Your contributions shape TruthCheck’s future. Here’s how to submit a pull request on Hugging Face:

', unsafe_allow_html=True) st.markdown('
    ', unsafe_allow_html=True) st.markdown('
  1. Fork the Repository: Create your own copy at https://huggingface.co/spaces/adnaan05/TruthCheck.
  2. ', unsafe_allow_html=True) st.markdown('
  3. Clone Your Fork: Download it locally:
  4. ', unsafe_allow_html=True) st.markdown('
    git clone https://huggingface.co/spaces/your-username/TruthCheck
    ', unsafe_allow_html=True) st.markdown('
  5. Create a Branch: Start your work with:
  6. ', unsafe_allow_html=True) st.markdown('
    git checkout -b feature/your-feature-name
    ', unsafe_allow_html=True) st.markdown('
  7. Make Changes: Implement your improvements and commit:
  8. ', unsafe_allow_html=True) st.markdown('
    git add .\ngit commit -m "Add your detailed message here"
    ', unsafe_allow_html=True) st.markdown('
  9. Push to Your Fork: Upload your branch:
  10. ', unsafe_allow_html=True) st.markdown('
    git push origin feature/your-feature-name
    ', unsafe_allow_html=True) st.markdown('
  11. Open a Pull Request: Submit via the Hugging Face interface, detailing your changes and linking to issues.
  12. ', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) st.markdown('

Join discussions and find tasks on the community tab.

', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Why Contribute st.markdown('
', unsafe_allow_html=True) st.markdown('

šŸŒ Why Contribute?

', unsafe_allow_html=True) st.markdown('

Contributing to TruthCheck means joining a global mission to empower truth. Enhance our AI with new datasets, add multilingual capabilities, or refine the UI—your input drives progress. Let’s build a trustworthy digital future together!

', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Footer st.markdown("---") st.markdown( '

šŸ’» Developed with ā¤ļø using Streamlit | Ā© 2025

', unsafe_allow_html=True ) st.markdown('', unsafe_allow_html=True) # Close main-container if __name__ == "__main__": main()