Spaces:
Runtime error
Runtime error
import streamlit as st | |
# Set up the page configuration | |
st.set_page_config(page_title="Arizona State University - AI Hub", page_icon="🎓") | |
# Header Section | |
st.title("Arizona State University - Official AI Hub") | |
st.subheader("A Collaborative Platform for Sharing AI Datasets and Models") | |
# Brief About ASU Section | |
st.write(""" | |
Welcome to the Arizona State University (ASU) Official AI Hub on Hugging Face! ASU is committed to innovation and collaboration in artificial intelligence and research. This space enables ASU students, faculty, and researchers to share datasets and machine learning models, facilitating knowledge exchange and fostering a vibrant AI community. For more information, visit [ASU AI Hub](https://ai.asu.edu). | |
""") | |
# Dataset Upload Section | |
st.header("Share Datasets") | |
st.write("Upload your datasets to make them accessible to the ASU community.") | |
dataset_upload = st.file_uploader("Upload a Dataset (CSV, XLSX, ZIP)", type=["csv", "xlsx", "zip"]) | |
if dataset_upload is not None: | |
st.success("Dataset uploaded successfully! Thank you for sharing with the ASU community.") | |
# Model Upload Section | |
st.header("Share Machine Learning Models") | |
st.write("Publish your machine learning models for others to use and build upon.") | |
model_upload = st.file_uploader("Upload a Model (PT, H5, ZIP)", type=["pt", "h5", "zip"]) | |
if model_upload is not None: | |
st.success("Model uploaded successfully! Thank you for contributing to the ASU AI community.") | |
# Footer with Contact Information | |
st.write("For official ASU information, visit [ai.asu.edu](https://ai.asu.edu).") | |
# Sidebar for Contact Information and Links | |
st.sidebar.header("Arizona State University") | |
st.sidebar.write("Contact the ASU AI and Research Support Team for assistance.") | |
st.sidebar.markdown("📧 [Contact Support](mailto:support@asu.edu)") | |
st.sidebar.markdown("🌐 [ASU AI Hub](https://ai.asu.edu)") | |
st.sidebar.markdown("📍 Location: Tempe, AZ") | |