DataRaptor commited on
Commit
751ec56
1 Parent(s): a23c872

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -73,8 +73,8 @@ st.markdown("""
73
  background-color: rgb(181 197 227 / 18%) !important;
74
  }
75
  .css-1y4p8pa {
76
- padding: 3rem 1rem 10rem;
77
- max-width: 58rem;
78
  }
79
  </style>
80
  """, unsafe_allow_html=True
@@ -129,7 +129,7 @@ def app():
129
 
130
  res = infer(image)
131
  prob = res.numpy()
132
- idx = np.argpartition(prob, -4)[-4:]
133
  right_column.markdown('#### Results')
134
 
135
  idx = list(idx)
@@ -147,4 +147,4 @@ def app():
147
  st.markdown("Built by [Shamim Ahamed](https://www.shamimahamed.com/). Data provided by [aiplanet](https://aiplanet.com/challenges/data-sprint-76-human-activity-recognition/233/overview/about)")
148
 
149
 
150
- app()
 
73
  background-color: rgb(181 197 227 / 18%) !important;
74
  }
75
  .css-1y4p8pa {
76
+ padding: 3rem 5rem 0rem;
77
+ max-width: 78rem;
78
  }
79
  </style>
80
  """, unsafe_allow_html=True
 
129
 
130
  res = infer(image)
131
  prob = res.numpy()
132
+ idx = np.argpartition(prob, -6)[-6:]
133
  right_column.markdown('#### Results')
134
 
135
  idx = list(idx)
 
147
  st.markdown("Built by [Shamim Ahamed](https://www.shamimahamed.com/). Data provided by [aiplanet](https://aiplanet.com/challenges/data-sprint-76-human-activity-recognition/233/overview/about)")
148
 
149
 
150
+ app()