import streamlit as st
import streamlit.components.v1 as components
def show():
# Hero Section
st.markdown("""
🧬 TransPolymer
A Transformer-based AI Model for Polymer Property Predictions
""", unsafe_allow_html=True)
# Typing Animation
components.html("""
|
""", height=120)
# Flip Cards
# Flip Cards
st.markdown("""
Polymer Property Prediction
Polymer Property Prediction
Using advanced AI models to make accurate and fast polymer property predictions.
SMILES Input
SMILES Input
TransPolymer works with SMILES strings to generate accurate predictions of polymer properties.
Transformer Technology
Transformer Technology
Built on the powerful Transformer architecture .
""", unsafe_allow_html=True)
st.markdown("""
What is TransPolymer?
TransPolymer is a powerful AI assistant that predicts physical and chemical properties of polymers using deep learning techniques.
It transforms molecular SMILES strings into property insights within seconds.
- ⚡ Fast predictions driven by Transformer architecture
- 🔍 Supports polymer innovation and discovery
""", unsafe_allow_html=True)
# Circular Layout
components.html("""
Who Can Use TransPolymer?
Polymer Scientists
Drug Delivery Researchers
Materials Scientists
Optical Material Engineers
Environmental Researchers
Students in Chemistry
""", height=600)
# Footer
st.markdown("""
Transpolymer - Simple. Smart. Scientific
© 2025 TransPolymer. All rights reserved.
""", unsafe_allow_html=True)