Spaces:
Sleeping
Sleeping
hi
Browse files
App.py
CHANGED
@@ -1,9 +1,14 @@
|
|
1 |
import streamlit as st
|
2 |
from streamlit_option_menu import option_menu
|
3 |
from home import dashboard
|
4 |
-
import
|
5 |
-
import
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
def load_json():
|
8 |
with open("database/data.json") as file:
|
9 |
data = json.load(file)
|
|
|
1 |
import streamlit as st
|
2 |
from streamlit_option_menu import option_menu
|
3 |
from home import dashboard
|
4 |
+
import os
|
5 |
+
from pymongo import MongoClient
|
6 |
|
7 |
+
|
8 |
+
if 'user' not in st.session_state:
|
9 |
+
st.session_state['user'] = 'visitor'
|
10 |
+
|
11 |
+
|
12 |
def load_json():
|
13 |
with open("database/data.json") as file:
|
14 |
data = json.load(file)
|