Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -7,7 +7,7 @@ def generate_confidences(
|
|
7 |
input_img,
|
8 |
num_top_preds,
|
9 |
):
|
10 |
-
input_img = test_transforms(image=input_img)
|
11 |
input_img = input_img["image"]
|
12 |
|
13 |
input_img = input_img.unsqueeze(0)
|
|
|
7 |
input_img,
|
8 |
num_top_preds,
|
9 |
):
|
10 |
+
#input_img = test_transforms(image=input_img)
|
11 |
input_img = input_img["image"]
|
12 |
|
13 |
input_img = input_img.unsqueeze(0)
|