Spaces:
Running
Running
File size: 1,424 Bytes
1adc2e7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | import streamlit as st
from pathlib import Path
from PIL import Image, ImageOps
IMG_DIR = Path("images")
TARGET_SIZE = (213, 310)
def fixed_image(name):
img = Image.open(IMG_DIR / name).convert("RGB")
return ImageOps.fit(img, TARGET_SIZE, Image.LANCZOS, centering=(0.5, 0.5))
c1, c2, c3 = st.columns([1, 2, 1])
with c2:
st.subheader("Team Members")
col1, col2, col3 = st.columns(3)
with col1:
st.image(fixed_image("GangLi.jpg"))
st.markdown("**Gang Li** \nProfessor of Mechanical Engineering, Clemson University \ngli@clemson.edu")
with col2:
st.image(fixed_image("Mathias.jpg"))
st.markdown("**Heider, Mathias** \nResearch Assistant - CSE PhD Student \nUniversity of Delaware \nmheider@udel.edu")
with col3:
st.image(fixed_image("Abhijit.jpg"))
st.markdown("**Abhijit Varanasi** \nLab Specialist - Clemson University \nMFA Graduate, Clemson University \nBE - CSE \navarana@clemson.edu")
st.write("")
sp1, col4, sp2, col5, sp3 = st.columns([1, 3, 1, 3, 1])
with col4:
st.image(fixed_image("Tejaswi.jpg"))
st.markdown("**Tejaswi Gudimetla** \nLab Aide - Clemson University \nvgudime@clemson.edu")
with col5:
st.image(fixed_image("Pradeep.jpg"))
st.markdown("**Sai Aditya Pradeep** \nResearch and Development Engineer, University of Delaware \nspradeep@udel.edu")
st.sidebar.image("logo.png", caption=" ", width=150)
|