Spaces:
Running
Running
File size: 2,973 Bytes
c2522bb 4cf63f7 c2522bb |
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
import os
import streamlit as st
import pandas as pd
import numpy as np
from st_pages import Page, show_pages
from PIL import Image
#from utils import authenticate_drive
##################################################################################
# PAGE CONFIGURATION #
##################################################################################
st.set_page_config(layout="wide")
##################################################################################
# GOOGLE DRIVE CONNEXION #
##################################################################################
# if ["drive_oauth"] not in st.session_state:
# st.session_state["drive_oauth"] = authenticate_drive()
# drive_oauth = st.session_state["drive_oauth"]
##################################################################################
# TITLE #
##################################################################################
st.image("images/AI.jpg")
st.title("AI and Data Science Examples")
st.subheader("HEC Paris, 2023-2024")
st.markdown("Course provided by **Shirish C. SRIVASTAVA**")
st.markdown(" ")
st.info("""**About the app**: The AI and Data Science Examples app was created to introduce students to the field of Data Science by showcasing real-life applications of AI.
It includes use cases using traditional Machine Learning algorithms on structured data, as well as Deep Learning models run on unstructured data (text, images,...).""")
st.divider()
#Hi! PARIS collaboration mention
st.markdown(" ")
image_hiparis = Image.open('images/hi-paris.png')
st.image(image_hiparis, width=150)
url = "https://www.hi-paris.fr/"
st.markdown("**The app was made in collaboration with: [Hi! PARIS Engineering Team](%s)**" % url)
##################################################################################
# DASHBOARD/SIDEBAR #
##################################################################################
# AI use case pages
show_pages(
[
Page("main_page.py", "Home Page", "π "),
Page("pages/supervised_unsupervised_page.py", "Supervised vs Unsupervised", "π"),
Page("pages/timeseries_analysis.py", "Time Series Forecasting", "π"),
Page("pages/sentiment_analysis.py", "Sentiment Analysis", "π"),
Page("pages/object_detection.py", "Object Detection", "πΉ"), #need to reduce RAM costs
Page("pages/recommendation_system.py", "Recommendation system", "π")
]
)
##################################################################################
# PAGE CONTENT #
##################################################################################
|