aminaj commited on
Commit
e637e1f
1 Parent(s): a842201

Create error.py

Browse files
Files changed (1) hide show
  1. pages/error.py +18 -0
pages/error.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Custom CSS
4
+ with open('styles.css') as f:
5
+ css = f.read()
6
+
7
+ st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
8
+
9
+ ## LOGO and TITLE
10
+ ## -------------------------------------------------------------------------------------------
11
+ # Show the logo and title side by side
12
+ col1, col2 = st.columns([1, 4])
13
+ with col1:
14
+ st.image("brainbot.png", width=100)
15
+ with col2:
16
+ st.title("Error")
17
+
18
+ st.error("Oops - Something went wrong! Please try again.")