Spaces:
Sleeping
Sleeping
scorpion237
commited on
Commit
•
8984154
1
Parent(s):
eeb8657
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def add_bg_from_local(image_file):
|
|
21 |
""",
|
22 |
unsafe_allow_html=True
|
23 |
)
|
24 |
-
add_bg_from_local('./
|
25 |
|
26 |
|
27 |
fig = plt.figure(figsize=(10, 10))
|
@@ -29,7 +29,7 @@ _, middle, _ = st.columns((2, 3, 2))
|
|
29 |
with middle:
|
30 |
st.title(":orange[_Scoring App_]")
|
31 |
# path du dossier data
|
32 |
-
path = ".\
|
33 |
|
34 |
# fonction pour loader le dataset
|
35 |
@st.cache_data
|
@@ -41,7 +41,7 @@ def convert_df_to_csv(frame):
|
|
41 |
return frame.to_csv(index=False).encode("utf-8")
|
42 |
|
43 |
# fonction principale
|
44 |
-
st.sidebar.image(r"./
|
45 |
def main():
|
46 |
st.markdown("<h2 style = 'text-align:center; \
|
47 |
color:green;'> Classification pour l'octroi de credit </h2>", unsafe_allow_html = True)
|
|
|
21 |
""",
|
22 |
unsafe_allow_html=True
|
23 |
)
|
24 |
+
add_bg_from_local('./route.png')
|
25 |
|
26 |
|
27 |
fig = plt.figure(figsize=(10, 10))
|
|
|
29 |
with middle:
|
30 |
st.title(":orange[_Scoring App_]")
|
31 |
# path du dossier data
|
32 |
+
path = ".\"
|
33 |
|
34 |
# fonction pour loader le dataset
|
35 |
@st.cache_data
|
|
|
41 |
return frame.to_csv(index=False).encode("utf-8")
|
42 |
|
43 |
# fonction principale
|
44 |
+
st.sidebar.image(r"./picture1.png")
|
45 |
def main():
|
46 |
st.markdown("<h2 style = 'text-align:center; \
|
47 |
color:green;'> Classification pour l'octroi de credit </h2>", unsafe_allow_html = True)
|