Spaces:
Runtime error
Runtime error
castorfou
commited on
Commit
•
8f3f577
1
Parent(s):
7c40384
2022-10-13_08:41
Browse files- .ipynb_checkpoints/README-checkpoint.md +12 -0
- rbc.py +2 -3
.ipynb_checkpoints/README-checkpoint.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Rbc
|
3 |
+
emoji: 🐠
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: red
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.4.1
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
+
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
rbc.py
CHANGED
@@ -16,14 +16,13 @@ def get_classement(
|
|
16 |
license_number,# le numero de license
|
17 |
):
|
18 |
classement_licencie = df_adherents[df_adherents['Licence'] == license_number]['Class.']
|
19 |
-
return classement_licencie.values[0] if len(classement_licencie)>0 else ''
|
20 |
|
21 |
# %% update_classement.ipynb 14
|
22 |
def get_classements(
|
23 |
license_number,# le numero de license
|
24 |
):
|
25 |
-
|
26 |
-
classement = classement_licencie.values[0] if len(classement_licencie)>0 else '-/-/-'
|
27 |
return pd.Series(classement.split('/'))
|
28 |
|
29 |
# %% update_classement.ipynb 29
|
|
|
16 |
license_number,# le numero de license
|
17 |
):
|
18 |
classement_licencie = df_adherents[df_adherents['Licence'] == license_number]['Class.']
|
19 |
+
return classement_licencie.values[0] if len(classement_licencie)>0 else '-/-/-'
|
20 |
|
21 |
# %% update_classement.ipynb 14
|
22 |
def get_classements(
|
23 |
license_number,# le numero de license
|
24 |
):
|
25 |
+
classement = get_classement(license_number)
|
|
|
26 |
return pd.Series(classement.split('/'))
|
27 |
|
28 |
# %% update_classement.ipynb 29
|