-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstreamlit_app.py
46 lines (33 loc) · 1011 Bytes
/
streamlit_app.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
42
43
44
45
46
"""
CosmOracleApp
Created December 2021
@authors:
[Marco Bonici](https://github.com/marcobonici),
[Niko Sarcevic](https://github.com/nikosarcevic) and
[Matthijs van der Wild](https://github.com/lonbar)
"""
import streamlit as st
from helpers import read_markdown
#import Introduction as pi
#import page_distances as pd
#import page_documentation as doc
# Page settings
st.set_page_config(page_title='CosmΩracle')
#Sidebar settings
logo, name = st.sidebar.columns(2)
with logo:
image = 'https://github.com/nikosarcevic/CosmOracle/blob/main/images/LogowName.png?raw=true'
st.image(image, use_column_width=True)
st.sidebar.write(" ")
#pages = {
# "Introduction": pi,
# "Cosmological Distances": pd,
# "Definitions": doc,
# }
st.sidebar.title("Main options")
# Radio buttons to select desired option
#page = st.sidebar.radio("", tuple(pages.keys()))
#pages[page].show_page()
# About
about = read_markdown("docs/markdown/about.md")
st.sidebar.markdown(about)