Skip to content

Commit f319048

Browse files
authored
fixed incorrect comments
1 parent 9964e34 commit f319048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nudebox/nudebox.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (c *Client) Info() (*boxutil.Info, error) {
5757
return &info, nil
5858
}
5959

60-
// Check gets the tags for the image data provided.
60+
// Check gets the nudity probability for the image data provided.
6161
func (c *Client) Check(image io.Reader) (float64, error) {
6262
var buf bytes.Buffer
6363
w := multipart.NewWriter(&buf)
@@ -86,7 +86,7 @@ func (c *Client) Check(image io.Reader) (float64, error) {
8686
return c.parseCheckResponse(resp.Body)
8787
}
8888

89-
// CheckURL gets the tags for the image at the specified URL.
89+
// CheckURL gets the nudity probability for the image at the specified URL.
9090
func (c *Client) CheckURL(imageURL *url.URL) (float64, error) {
9191
u, err := url.Parse(c.addr + "/nudebox/check")
9292
if err != nil {

0 commit comments

Comments
 (0)