Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
import streamlit as st
|
3 |
st.set_page_config(layout="wide")
|
4 |
import streamlit_authenticator as stauth
|
@@ -14,9 +13,9 @@ import tab_manager
|
|
14 |
import yaml
|
15 |
from yaml.loader import SafeLoader
|
16 |
from PIL import Image
|
17 |
-
from huggingface_hub import CommitScheduler, HfApi, CommitOperationAdd
|
|
|
18 |
|
19 |
-
login()
|
20 |
AUTHENTICATOR = None
|
21 |
TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
|
22 |
USER_LOGGED_IN = False
|
@@ -26,7 +25,7 @@ userDataFile = Path("data/") / f"user_database_{uuid.uuid4()}.yaml"
|
|
26 |
userDataFolder = userDataFile.parent
|
27 |
|
28 |
USER_DATABASE_UPDATE_SCHEDULER = CommitScheduler(
|
29 |
-
repo_id="
|
30 |
repo_type="dataset",
|
31 |
folder_path=userDataFolder,
|
32 |
path_in_repo="data",
|
|
|
|
|
1 |
import streamlit as st
|
2 |
st.set_page_config(layout="wide")
|
3 |
import streamlit_authenticator as stauth
|
|
|
13 |
import yaml
|
14 |
from yaml.loader import SafeLoader
|
15 |
from PIL import Image
|
16 |
+
from huggingface_hub import CommitScheduler, HfApi, CommitOperationAdd
|
17 |
+
|
18 |
|
|
|
19 |
AUTHENTICATOR = None
|
20 |
TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
|
21 |
USER_LOGGED_IN = False
|
|
|
25 |
userDataFolder = userDataFile.parent
|
26 |
|
27 |
USER_DATABASE_UPDATE_SCHEDULER = CommitScheduler(
|
28 |
+
repo_id="try-before-you-bias-data",
|
29 |
repo_type="dataset",
|
30 |
folder_path=userDataFolder,
|
31 |
path_in_repo="data",
|