PrakhAI commited on
Commit
0a7a310
·
1 Parent(s): 58ed9ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ else:
45
  img = Image.open(uploaded_file)
46
  st.image(img)
47
  input = jnp.array(tf.cast(tf.image.resize(tf.convert_to_tensor(img), [50, 50]), tf.float32) / 255.)
48
- st.write("Input shape: " + input.shape)
49
  st.write("Model Prediction: " + cnn.apply({"params": params}, input))
50
  st.write("Model Prediction type: " + type(cnn.apply({"params": params}, input)))
51
  st.write("Model Prediction type dir: " + dir(cnn.apply({"params": params}, input)))
 
45
  img = Image.open(uploaded_file)
46
  st.image(img)
47
  input = jnp.array(tf.cast(tf.image.resize(tf.convert_to_tensor(img), [50, 50]), tf.float32) / 255.)
48
+ st.write("Input shape: " + str(input.shape))
49
  st.write("Model Prediction: " + cnn.apply({"params": params}, input))
50
  st.write("Model Prediction type: " + type(cnn.apply({"params": params}, input)))
51
  st.write("Model Prediction type dir: " + dir(cnn.apply({"params": params}, input)))