|
|
|
|
|
import streamlit as st |
|
|
|
|
|
|
|
|
|
|
|
PASS_CODE_dev = "111" |
|
|
PASS_CODE_ver = "555" |
|
|
|
|
|
st.sidebar.title("Navigation") |
|
|
page = st.sidebar.radio("Go to", ["Home", "Guidelines & Standarts used", "About us"]) |
|
|
st.markdown( |
|
|
""" |
|
|
<style> |
|
|
/* Change the sidebar background to light green */ |
|
|
[data-testid="stSidebar"] { |
|
|
background-color: #ccffcc; /* Light green */ |
|
|
} |
|
|
/* Change the text color in the sidebar to dark blue */ |
|
|
[data-testid="stSidebar"] .css-145kmo2 { |
|
|
color: #003366; /* Dark blue */ |
|
|
} |
|
|
/* Change the header text color in the sidebar to dark blue */ |
|
|
[data-testid="stSidebar"] h1, h2, h3, h4, h5, h6 { |
|
|
color: #003366; /* Dark blue */ |
|
|
} |
|
|
</style> |
|
|
""", |
|
|
unsafe_allow_html=True |
|
|
) |
|
|
|
|
|
if page == "Home": |
|
|
if 'page_redirect' in st.session_state: |
|
|
|
|
|
if st.session_state.page_redirect == "developer": |
|
|
|
|
|
st.title("Project Developer Portal") |
|
|
st.write("You can submit your project for evaluation here.") |
|
|
|
|
|
import developer |
|
|
developer.project_developer_page() |
|
|
|
|
|
elif st.session_state.page_redirect == "verifier": |
|
|
st.title("Verification Entity Portal") |
|
|
st.write("You can view submitted projects here.") |
|
|
|
|
|
import verifier |
|
|
verifier.verifier_page() |
|
|
|
|
|
else: |
|
|
|
|
|
st.image("sebastian-unrau-sp-p7uuT0tw-unsplash.jpg") |
|
|
st.markdown( |
|
|
""" |
|
|
<style> |
|
|
.full-width-image { |
|
|
width: 100%; |
|
|
height: auto; |
|
|
} |
|
|
</style> |
|
|
""", |
|
|
unsafe_allow_html=True, |
|
|
) |
|
|
st.title("Hi! Welcome to the NBS Project Submission Platform") |
|
|
st.subheader("The Problem: Time-Consuming Verification Processes") |
|
|
st.write("""Large enterprises are responsible for generating billions of metric tons of CO2 annually. To offset these emissions, they must invest in Nature-Based Solutions (NBS), which involve ecosystem conservation, restoration, or management. However, before these projects can generate carbon credits, they must go through a rigorous verification process. This process, led by Verra—the leading project registry in the voluntary carbon market—can take up to 545 days, during which projects are unable to generate monetized carbon credits. |
|
|
The verification process is slow due to inefficient communication between Verra and project developers. A prolonged back-and-forth exchange of feedback contributes to significant delays, affecting NBS project availability and ultimately hindering efforts to address the global carbon emissions crisis. |
|
|
This issue is particularly evident for companies, which are involved in multiple NBS projects. For them, delayed verification could lead to financial losses totaling hundreds of millions of dollars.""") |
|
|
st.subheader("Our Solution: AI-Enhanced Verification Interface") |
|
|
st.write("""We’ve developed a solution to cut down verification times by 40%. Our AI-powered interface streamlines the communication process between project developers and verifiers, making it faster and more efficient. |
|
|
By leveraging Large Language Models (LLMs) trained on comprehensive carbon-market resources, verification standards, and past NBS projects, our interface helps both parties stay aligned and organized. This ensures that project documentation is complete and of high quality, allowing Verra’s verification process to begin sooner, without the back-and-forth delays.""") |
|
|
st.subheader("How does it work for our stakeholders?") |
|
|
st.write(""" |
|
|
- for project developers: |
|
|
- for project verifiers: |
|
|
- for companies/third parties: |
|
|
""") |
|
|
st.write(""" |
|
|
|
|
|
|
|
|
Whether you\'re a Project Developer or a Verifier, our interface can transform how you interact with the voluntary carbon market. |
|
|
\n Click on the button to access corresponding portal.""") |
|
|
|
|
|
tab1, tab2, tab3, tab4 = st.tabs(["Verra", "Carbon Credits", "Voluntary Carbon Market", "NBS"]) |
|
|
|
|
|
with tab1: |
|
|
st.header("Verra") |
|
|
with tab2: |
|
|
st.header("Carbon Credits") |
|
|
|
|
|
with tab3: |
|
|
st.header("Voluntary Carbon Market") |
|
|
|
|
|
with tab4: |
|
|
st.header("NBS - Natural-based solutions") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
left, right = st.columns(2) |
|
|
|
|
|
|
|
|
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer": |
|
|
|
|
|
with left: |
|
|
|
|
|
|
|
|
with st.popover("Project Developer"): |
|
|
st.write("Project Developer Log-in") |
|
|
entered_code = st.text_input("Please, enter the passcode to proceed:") |
|
|
if st.button("Submit", key="developer_submit"): |
|
|
if entered_code == PASS_CODE_dev: |
|
|
st.session_state.page_redirect = "developer" |
|
|
st.success("Code correct! Redirecting to Project Developer page...") |
|
|
st.rerun() |
|
|
|
|
|
else: |
|
|
st.error("Incorrect code. Please try again.") |
|
|
|
|
|
|
|
|
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer": |
|
|
|
|
|
with right: |
|
|
|
|
|
|
|
|
with st.popover("Verification Entity"): |
|
|
st.write("Verification Entity Log-in") |
|
|
entered_code = st.text_input("Enter the passcode to proceed:") |
|
|
if st.button("Submit", key="verifier_submit"): |
|
|
if entered_code == PASS_CODE_ver: |
|
|
st.session_state.page_redirect = "verifier" |
|
|
st.success("Code correct! Redirecting to Verification Entity page...") |
|
|
st.rerun() |
|
|
|
|
|
else: |
|
|
st.error("Incorrect code. Please try again.") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
elif page == "Guidelines & Standarts used": |
|
|
st.title("Guidelines & Standarts used") |
|
|
st.write("The projects relies on the publicly available data provided by Verra. Verra is") |
|
|
|
|
|
elif page == "About": |
|
|
st.title("About us") |
|
|
st.write("The project aims to...") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|