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('', 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('- Clone the Repository: Secure the codebase with this command:
', unsafe_allow_html=True)
st.markdown('git clone https://huggingface.co/spaces/adnaan05/TruthCheck
', unsafe_allow_html=True)
st.markdown('- Navigate to Directory: Enter the project folder:
', unsafe_allow_html=True)
st.markdown('', unsafe_allow_html=True)
st.markdown('- Install Dependencies: Set up the environment with:
', unsafe_allow_html=True)
st.markdown('pip install -r requirements.txt
', unsafe_allow_html=True)
st.markdown('- Launch the App: Start the application with:
', unsafe_allow_html=True)
st.markdown('', 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('- Fork the Repository: Create your own copy at https://huggingface.co/spaces/adnaan05/TruthCheck.
', unsafe_allow_html=True)
st.markdown('- Clone Your Fork: Download it locally:
', unsafe_allow_html=True)
st.markdown('git clone https://huggingface.co/spaces/your-username/TruthCheck
', unsafe_allow_html=True)
st.markdown('- Create a Branch: Start your work with:
', unsafe_allow_html=True)
st.markdown('git checkout -b feature/your-feature-name
', unsafe_allow_html=True)
st.markdown('- Make Changes: Implement your improvements and commit:
', unsafe_allow_html=True)
st.markdown('git add .\ngit commit -m "Add your detailed message here"
', unsafe_allow_html=True)
st.markdown('- Push to Your Fork: Upload your branch:
', unsafe_allow_html=True)
st.markdown('git push origin feature/your-feature-name
', unsafe_allow_html=True)
st.markdown('- Open a Pull Request: Submit via the Hugging Face interface, detailing your changes and linking to issues.
', 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()