Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def inference(raw_image, input_tag):
|
|
31 |
raw_image = raw_image.resize((image_size, image_size))
|
32 |
|
33 |
image = transform(raw_image).unsqueeze(0).to(device)
|
34 |
-
model.threshold = 0.
|
35 |
if input_tag == '' or input_tag == 'none' or input_tag == 'None':
|
36 |
input_tag_list = None
|
37 |
else:
|
|
|
31 |
raw_image = raw_image.resize((image_size, image_size))
|
32 |
|
33 |
image = transform(raw_image).unsqueeze(0).to(device)
|
34 |
+
model.threshold = 0.68
|
35 |
if input_tag == '' or input_tag == 'none' or input_tag == 'None':
|
36 |
input_tag_list = None
|
37 |
else:
|