-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.py
More file actions
37 lines (29 loc) · 1017 Bytes
/
Copy pathmain.py
File metadata and controls
37 lines (29 loc) · 1017 Bytes
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
import streamlit as st
from analyze import analyze
from about import about
from compare import compare
from API import API
if 'learnMore' not in st.session_state:
st.session_state.learnMore = True
if 'count2' not in st.session_state:
st.session_state.count2 = 0
if 'count3' not in st.session_state:
st.session_state.count3 = 0
st.image("Vito.png")
st.title("Vito")
st.subheader("Detecting Infectious Diseases With Wearables")
st.caption("We at Vito believe you its vital to be able to learn more about your health without invading privacy. Vito empowers you to explore your health via your vitals and on-device machine learning.")
col1, col2, col3 = st.columns(3)
start = col1.button("Analyze")
if start:
st.session_state.learnMore = False
# compareBtn = col2.button("Compare")
st.session_state.learnMore = col2.button("About")
if st.session_state.learnMore:
about()
else:
analyze()
# if compareBtn:
# st.session_state.count3 += 1
# if st.session_state.count3 > 0:
# compare()