Hitheshrai commited on
Commit
fabdb87
·
verified ·
1 Parent(s): 40cb16f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -32
app.py CHANGED
@@ -1,40 +1,37 @@
1
  import streamlit as st
2
 
3
- # Page Configuration
4
- st.set_page_config(page_title="Arizona State University (Unofficial)", page_icon="🎓")
5
 
6
- # Header
7
- st.title("Arizona State University (Unofficial)")
8
- st.subheader("A Collaborative Space for ASU Students to Share Datasets and Models")
9
 
10
- # Brief ASU Information
11
- st.write("Arizona State University (ASU) is a public research university known for its focus on innovation and inclusivity. Here, we encourage students to collaborate, innovate, and contribute to advancing research by sharing their work.")
12
-
13
- # Section for Dataset & Model Sharing
14
- st.header("Share Your Work")
15
-
16
- # Datasets
17
- st.subheader("Datasets")
18
- st.write("Upload and share datasets related to your projects or research at ASU.")
19
- uploaded_file = st.file_uploader("Upload a Dataset", type=["csv", "xlsx", "zip"])
20
- if uploaded_file is not None:
21
- st.write("Thank you for sharing your dataset! It is now available for others to explore.")
22
 
23
- # Models
24
- st.subheader("Models")
25
- st.write("Publish your machine learning models for others to use and collaborate.")
26
- model_upload = st.file_uploader("Upload a Model", type=["pt", "h5", "zip"])
 
 
 
 
 
 
 
27
  if model_upload is not None:
28
- st.write("Your model has been successfully uploaded and is ready for others to access.")
29
 
30
- # Community Contributions Section
31
- st.header("Community Contributions")
32
- st.write("Explore datasets and models shared by fellow ASU students.")
33
- # Sample contributions (replace with actual links or integrations)
34
- st.markdown("""
35
- - **Solar Power Forecasting Dataset**: [Download](#)
36
- - **Image Classification Model for Wildlife**: [Download](#)
37
- """)
38
 
39
- # Footer
40
- st.write("For official ASU resources, visit [asu.edu](https://www.asu.edu)")
 
 
 
 
 
1
  import streamlit as st
2
 
3
+ # Set up the page configuration
4
+ st.set_page_config(page_title="Arizona State University - AI Hub", page_icon="🎓")
5
 
6
+ # Header Section
7
+ st.title("Arizona State University - Official AI Hub")
8
+ st.subheader("A Collaborative Platform for Sharing AI Datasets and Models")
9
 
10
+ # Brief About ASU Section
11
+ st.write("""
12
+ 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).
13
+ """)
 
 
 
 
 
 
 
 
14
 
15
+ # Dataset Upload Section
16
+ st.header("Share Datasets")
17
+ st.write("Upload your datasets to make them accessible to the ASU community.")
18
+ dataset_upload = st.file_uploader("Upload a Dataset (CSV, XLSX, ZIP)", type=["csv", "xlsx", "zip"])
19
+ if dataset_upload is not None:
20
+ st.success("Dataset uploaded successfully! Thank you for sharing with the ASU community.")
21
+
22
+ # Model Upload Section
23
+ st.header("Share Machine Learning Models")
24
+ st.write("Publish your machine learning models for others to use and build upon.")
25
+ model_upload = st.file_uploader("Upload a Model (PT, H5, ZIP)", type=["pt", "h5", "zip"])
26
  if model_upload is not None:
27
+ st.success("Model uploaded successfully! Thank you for contributing to the ASU AI community.")
28
 
29
+ # Footer with Contact Information
30
+ st.write("For official ASU information, visit [ai.asu.edu](https://ai.asu.edu).")
 
 
 
 
 
 
31
 
32
+ # Sidebar for Contact Information and Links
33
+ st.sidebar.header("Arizona State University")
34
+ st.sidebar.write("Contact the ASU AI and Research Support Team for assistance.")
35
+ st.sidebar.markdown("📧 [Contact Support](mailto:[email protected])")
36
+ st.sidebar.markdown("🌐 [ASU AI Hub](https://ai.asu.edu)")
37
+ st.sidebar.markdown("📍 Location: Tempe, AZ")