sayakpaul HF staff commited on
Commit
1c951f1
1 Parent(s): 98e527d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ _MODEL = get_model()
27
  def show_plot(image):
28
  """Function to be called when user hits submit on the UI."""
29
  _, preprocessed_image = utils.preprocess_image(
30
- image, "deit_tiny_patch16_224"
31
  )
32
  _, _, ca_atn_score_dict = _MODEL.predict(preprocessed_image)
33
 
 
27
  def show_plot(image):
28
  """Function to be called when user hits submit on the UI."""
29
  _, preprocessed_image = utils.preprocess_image(
30
+ image, _RESOLUTION
31
  )
32
  _, _, ca_atn_score_dict = _MODEL.predict(preprocessed_image)
33