Skip to content

Commit 1e3d594

Browse files
committed
chore(visual recognition v4): Apply manual changes for threshold
1 parent 5576059 commit 1e3d594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm_watson/visual_recognition_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def analyze(self,
154154
form_data.append(('image_url', (None, item, 'text/plain')))
155155
if threshold:
156156
form_data.append(
157-
('threshold', (None, threshold, 'application/json')))
157+
('threshold', (None, str(threshold), 'application/json')))
158158

159159
url = '/v4/analyze'
160160
request = self.prepare_request(method='POST',

0 commit comments

Comments
 (0)