OMGJ commited on
Commit
61ff50d
·
verified ·
1 Parent(s): 56355c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -66,7 +66,7 @@ st.markdown("""
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,9 +210,9 @@ if selecte == "Home":
210
 
211
 
212
  if index == 0:
213
- st.image('not_fraud.JPG')
214
  else:
215
- st.image('Fraud-alert-2023.JPG')
216
  st.write("### score: {}%".format(int(conf_score * 1000) / 10))
217
 
218
  footer = st.container()
@@ -326,9 +326,9 @@ if selecte == "About":
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('loss.png')
330
  with col2:
331
- st.image('acc.png')
332
  footer = st.container()
333
  with footer:
334
  st.markdown("---")
 
66
 
67
  header , menu = st.columns(2)
68
  with header:
69
+ st.image('static/image/cif1.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("---")