OMGJ commited on
Commit
f62612c
·
verified ·
1 Parent(s): 8f0cd4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -63,14 +63,10 @@ st.markdown("""
63
  """, unsafe_allow_html=True)
64
 
65
 
66
-
67
- #st.header(f"LA QUALITE DE L'AIR A")
68
- #st.title(f"NAIROBI,KENYA")
69
- #st.header("Pollution de l'Air en NAIROBI")
70
 
71
  header , menu = st.columns(2)
72
  with header:
73
- st.image('cif2.png')
74
 
75
  with menu:
76
  # option_menu(menu_title=None,
@@ -214,9 +210,9 @@ if selecte == "Home":
214
 
215
 
216
  if index == 0:
217
- st.image('./static/image/not_fraud.JPG')
218
  else:
219
- st.image('./static/image/Fraud-alert-2023.JPG')
220
  st.write("### score: {}%".format(int(conf_score * 1000) / 10))
221
 
222
  footer = st.container()
@@ -330,9 +326,9 @@ if selecte == "About":
330
  st.write('Comme il s\'agit d\'un problème de vision par ordinateur, il était très clair et logique d\'essayer un réseau neuronal convolutif. Nous avons utilisé ResNet 18 avec les poids pré-entraînés sur l\'ensemble de données ImageNet .Nous avons remplacé la couche de sortie et la couche d\'entrée.Le model a donné un résultat suivants:')
331
  col1, col2 =st.columns(2)
332
  with col1:
333
- st.image('./static/image/loss.png')
334
  with col2:
335
- st.image('./static/image/acc.png')
336
  footer = st.container()
337
  with footer:
338
  st.markdown("---")
 
63
  """, unsafe_allow_html=True)
64
 
65
 
 
 
 
 
66
 
67
  header , menu = st.columns(2)
68
  with header:
69
+ #st.image('cif2.png')
70
 
71
  with menu:
72
  # option_menu(menu_title=None,
 
210
 
211
 
212
  if index == 0:
213
+ #st.image('./static/image/not_fraud.JPG')
214
  else:
215
+ #st.image('./static/image/Fraud-alert-2023.JPG')
216
  st.write("### score: {}%".format(int(conf_score * 1000) / 10))
217
 
218
  footer = st.container()
 
326
  st.write('Comme il s\'agit d\'un problème de vision par ordinateur, il était très clair et logique d\'essayer un réseau neuronal convolutif. Nous avons utilisé ResNet 18 avec les poids pré-entraînés sur l\'ensemble de données ImageNet .Nous avons remplacé la couche de sortie et la couche d\'entrée.Le model a donné un résultat suivants:')
327
  col1, col2 =st.columns(2)
328
  with col1:
329
+ #st.image('./static/image/loss.png')
330
  with col2:
331
+ #st.image('./static/image/acc.png')
332
  footer = st.container()
333
  with footer:
334
  st.markdown("---")