-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.py
40 lines (26 loc) · 1.55 KB
/
home.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
import streamlit as st
st.set_page_config(
page_title="EmbracePlus Visualizer",
page_icon="📈",
)
st.title("Get Started with EmbracePlus Visualizer 📈")
st.divider()
st.header(":blue[Upload your .avro files and we will graph them for you!]")
st.write("1. Click on the 'Browse files' button to upload your AVRO files. You can select all of the files related to a session at once.")
st.write("2. Once you have uploaded the files, click on the 'Visualize' button to see the graphs.")
st.write("3. You can also download the data in CSV format by clicking on the 'Download CSV' button.")
st.write("4. If you want to clear the uploaded files, click on the 'Clear Files' button.")
st.write("5. If you want to save the graphs as an image, click on the 'Save as Image' button.")
st.header("Example of a processed graph:")
container = st.container(border=True)
st.caption("Note: This is an example of a graph that will be generated after uploading the files. The actual graph will be based on the data in your files.")
container.image("assets/example.png", use_column_width=True)
st.divider()
st.header("Example to download data as .csv")
st.caption("It is necessary for you to hover at the top of the table for the buttons to appear as shown in the image below.")
container1 = st.container(border=True)
container1.image("assets/download.png", use_column_width=True)
st.divider()
st.page_link("pages/visualize.py", label="Click this button to start uploading", icon="📁")
st.divider()
st.write("Code by: [JocelynVelarde](https://github.com/JocelynVelarde)")