Spaces:
Runtime error
Runtime error
File size: 928 Bytes
00ac9b2 |
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 |
#standard imports
import pandas as pd
import streamlit as st
from PIL import Image
# Setting the Page Layout as wide
st.set_page_config(
page_title="AI GERD Dashboard",
layout="wide")
# # Creating Container for Logo and Title
with st.container():
col1,col2 = st.columns(2)
#Code for adding Logo
with col1:
image = Image.open('references/image.png')
st.image(image)
#Code for Title
with col2:
col2.markdown("<h1 style='text-align:centre; color: black;'>ETHIO HYDRO & CLIMATE HUB</h1>", unsafe_allow_html=True)
message = """
__Select an application from the list below__
"""
from stlib import precipitation
from stlib import temperature
with st.sidebar:
st.markdown(message)
page = st.selectbox(' ',['Temperature',"Precipitation"])
if page == 'Temperature':
temperature.run()
elif page == 'Precipitation':
precipitation.run()
|