Conner commited on
Commit
e32cd12
·
1 Parent(s): e59b5a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def predict(img):
19
  # determined by the first position in the shape tuple, in this case 1.
20
  data = np.ndarray(shape=(1, 224, 224, 3), dtype=np.float32)
21
  # Replace this with the path to your image
22
- image = gr.imputs.Image()
23
  #resize the image to a 224x224 with the same strategy as in TM2:
24
  #resizing the image to be at least 224x224 and then cropping from the center
25
  size = (224, 224)
 
19
  # determined by the first position in the shape tuple, in this case 1.
20
  data = np.ndarray(shape=(1, 224, 224, 3), dtype=np.float32)
21
  # Replace this with the path to your image
22
+ image = gr.inputs.Image()
23
  #resize the image to a 224x224 with the same strategy as in TM2:
24
  #resizing the image to be at least 224x224 and then cropping from the center
25
  size = (224, 224)