CoolFace
Apppublic

Vidit123/Emotion-recognition

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
test_app.py25 linesDownload Raw Back to root
1import streamlit as st2 3st.title("๐Ÿงช Zero Dependencies Test")4st.write("This app uses only built-in Python and Streamlit libraries.")5 6# Test basic Streamlit functionality7name = st.text_input("Enter your name:")8if name:9    st.write(f"Hello, {name}! ๐Ÿ‘‹")10 11# Test file upload with built-in functionality12uploaded_file = st.file_uploader("Upload any file", type=None)13if uploaded_file is not None:14    st.write(f"โœ… File uploaded: {uploaded_file.name}")15    st.write(f"File size: {uploaded_file.size} bytes")16 17# Test basic widgets18slider_val = st.slider("Test slider", 0, 100, 50)19st.write(f"Slider value: {slider_val}")20 21if st.button("Test Button"):22    st.balloons()23    st.success("โœ… All basic functionality works!")24 25st.sidebar.info("If you see this, your Streamlit Cloud account is working fine!")