lfernandopg commited on
Commit
d4b1d89
·
1 Parent(s): 04de8b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ if file is not None:
29
  x = np.squeeze(x)
30
  x = np.expand_dims(x, axis=0)
31
  prediction = model.predict(x)
32
- index = numpy.argmax(prediction[0])
33
  label = labels[index]
34
  text = f"<p style='text-align: center;'>{label}</p>"
35
  col1, col2, col3 = st.columns(3)
 
29
  x = np.squeeze(x)
30
  x = np.expand_dims(x, axis=0)
31
  prediction = model.predict(x)
32
+ index = np.argmax(prediction[0])
33
  label = labels[index]
34
  text = f"<p style='text-align: center;'>{label}</p>"
35
  col1, col2, col3 = st.columns(3)