- def main():
- # Page title
- st.title("TCS Data Harmonization Platform")
- # CSS to set background color
- st.markdown(
- """
- <style>
- body {
- background-color: #FFC0CB;
- }
- </style>
- """,
- unsafe_allow_html=True
- )
- # Welcome message with person logo
- st.text("Welcome - User")
- st.image("person_logo.png", width=30)
- # Harmonization data with screenshots
- harmonization_data = [
- {"Type": "Competitor Harmonization", "Screenshot": "competitor_screenshot.png"},
- {"Type": "Product Harmonization", "Screenshot": "product_screenshot.png"},
- {"Type": "Market/Format Harmonization", "Screenshot": "market_format_screenshot.png"},
- {"Type": "Time Period Harmonization", "Screenshot": "time_period_screenshot.png"}
- ]
- # Convert to DataFrame
- df = pd.DataFrame(harmonization_data)
- # Display harmonization types with screenshots in a 2x2 grid layout
- st.write("<div style='display: flex;'>", unsafe_allow_html=True)
- for index, row in df.iterrows():
- st.write(
- f"<div style='flex: 1; padding: 10px;'>"
- f"<h3>{row['Type']}</h3>"
- f"<img src='{row['Screenshot']}' style='width: 100%;'>"
- f"</div>",
- unsafe_allow_html=True
- )
- if (index + 1) % 2 == 0:
- st.write("</div><div style='display: flex;'>", unsafe_allow_html=True)
- st.write("</div>", unsafe_allow_html=True)
- # Footer
- st.markdown("---")
- st.markdown("Cognitive and Integrated Insights platform powered by AI/ML that drives Digital Transformation and External Data Harmonization")
- if __name__ == "__main__":
- # Set layout to wide for title alignment
- st.set_page_config(layout="wide")
- # Call main function
- main()
[text] L
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: