Spaces:
Sleeping
Sleeping
Bug fix
Browse files
app.py
CHANGED
@@ -14,12 +14,12 @@ with open('config/mapping_noms.txt', 'r') as f:
|
|
14 |
mapping_noms = json.loads(f.read())
|
15 |
|
16 |
if 'name' not in st.session_state.keys():
|
17 |
-
st.session_state['name'] = '
|
18 |
|
19 |
@st.cache_resource
|
20 |
def initialize(name):
|
21 |
|
22 |
-
if name == "
|
23 |
return None, None, None, None, None
|
24 |
|
25 |
articles = pd.read_csv('data/extract_sciences_po.csv')
|
|
|
14 |
mapping_noms = json.loads(f.read())
|
15 |
|
16 |
if 'name' not in st.session_state.keys():
|
17 |
+
st.session_state['name'] = 'Groupe 2'
|
18 |
|
19 |
@st.cache_resource
|
20 |
def initialize(name):
|
21 |
|
22 |
+
if name == "Groupe 1":
|
23 |
return None, None, None, None, None
|
24 |
|
25 |
articles = pd.read_csv('data/extract_sciences_po.csv')
|