-
Notifications
You must be signed in to change notification settings - Fork 10
/
demo.py
41 lines (30 loc) · 994 Bytes
/
demo.py
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
import streamlit as st
st.image(
"https://datascientest.com/wp-content/uploads/2020/10/logo-text-right.png.webp"
)
st.header("Développer et déployer une application de Machine learning en **Streamlit**")
st.info("Webinar du 04/05/2021")
st.markdown("---")
st.markdown(
"""
**Objectifs 🎯**
* Se familiariser avec Streamlit
* Découvrir les différents types de widgets
* Créér une démo d'application de Machine Learning
* Déployer cette application 🚀
"""
)
first_name = st.sidebar.text_input("Prénom")
last_name = st.sidebar.text_input("Nom")
job = st.sidebar.selectbox(
"Profession",
options=("Data Scientist", "Data Engineer", "Développeur", "Autre"),
)
experience = st.sidebar.slider(
"Années d'expériences", min_value=0, max_value=10, value=2, step=1
)
interests = st.sidebar.multiselect(
"Intérêts",
options=["technologie", "IA", "développement", "python", "statistiques", "R"],
default=["python", "IA"],
)