import streamlit as st from PIL import Image # Custom CSS for sidebar and buttons st.markdown( """ """, unsafe_allow_html=True ) # Header st.markdown("

Welcome to Kaif TechBuddy

", unsafe_allow_html=True) # Main content with st.container(): st.markdown("

Google Generative AI Certification

", unsafe_allow_html=True) st.write("Please fill out the form below") # Create columns for better layout col1, col2 = st.columns(2) with col1: name = st.text_input("Enter Name") password = st.text_input("Enter Password", type="password") dob = st.date_input("Enter DOB") gender = st.radio("Select Gender", ["Male", "Female", "Others"]) with col2: skills = st.multiselect("Choose Skills", ["Data Science", "AI", "Frontend", "Backend", "Machine Learning"]) photo = st.file_uploader("Upload Photo") # Submit button if st.button("Submit"): st.success(f"Thank you, {name}!") # Display entered details st.subheader("Your Entered Details:") st.write(f"**Name:** {name}") st.write(f"**Date of Birth:** {dob}") st.write(f"**Gender:** {gender}") st.write(f"**Skills:** {', '.join(skills)}") if photo: img = Image.open(photo) st.image(img, caption="Uploaded Photo", use_column_width=True) # Sidebar content with st.sidebar: st.markdown("# Kaif TechBuddy") st.text_input("Enter Username") st.text_input("Enter Your Password", type="password") st.button("Click")