Team Ai
Apppublic

jarondon82/ComputerVisionProject

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes
streamlit_minimal.py28 linesDownload Raw Back to root
1import streamlit as st2 3def main():4    st.title("Face Detection App")5    st.write("Esta es una versión mínima para probar la configuración.")6    st.write("Si ves este mensaje, la aplicación está configurada correctamente.")7    8    st.info("Versiones de dependencias:")9    try:10        import tensorflow as tf11        st.success(f"TensorFlow version: {tf.__version__}")12    except Exception as e:13        st.error(f"Error de TensorFlow: {e}")14    15    try:16        import keras17        st.success(f"Keras version: {keras.__version__}")18    except Exception as e:19        st.error(f"Error de Keras: {e}")20    21    try:22        import cv223        st.success(f"OpenCV version: {cv2.__version__}")24    except Exception as e:25        st.error(f"Error de OpenCV: {e}")26    27if __name__ == "__main__":28    main()