yashraizada commited on
Commit
c755746
1 Parent(s): 695d8ff

Create utils.py

Browse files
Files changed (1) hide show
  1. utils.py +20 -0
utils.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import streamlit as st
3
+
4
+ def set_page_config():
5
+ return st.set_page_config(
6
+ page_title="Yelp Review Sense",
7
+ page_icon=":yelp:",
8
+ layout="wide",
9
+ menu_items={
10
+ 'Get Help': "https://github.com/yashraizada/yelp-review-sense",
11
+ 'Report a bug': "mailto:yash.raizada@hotmail.com",
12
+ 'About': "Discover sentiment insights from Yelp reviews"
13
+ }
14
+ )
15
+
16
+ def draw_line():
17
+ return st.divider()
18
+
19
+ def draw_space(size: int = 3):
20
+ return st.markdown("#" * np.clip(size, 0, 6))