lombardata
commited on
Commit
•
6cbf3f8
1
Parent(s):
1f62428
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def predict(image, slider_threshold=0.5, fixed_thresholds=None):
|
|
73 |
|
74 |
return slider_results, fixed_threshold_results
|
75 |
|
76 |
-
def predict_wrapper(image, slider_threshold):
|
77 |
# Download thresholds from the model repository
|
78 |
thresholds = download_thresholds(checkpoint_name, "threshold.json")
|
79 |
|
|
|
73 |
|
74 |
return slider_results, fixed_threshold_results
|
75 |
|
76 |
+
def predict_wrapper(image, slider_threshold=0.5):
|
77 |
# Download thresholds from the model repository
|
78 |
thresholds = download_thresholds(checkpoint_name, "threshold.json")
|
79 |
|