Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
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 |
|