mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
Added periods
This commit is contained in:
+9
-4
@@ -545,9 +545,11 @@
|
||||
"id": "2a593ec69048"
|
||||
},
|
||||
"source": [
|
||||
"Define a function to query the Cloud Vision API to detect potential explicit images\n",
|
||||
"### Define function to detect explicit images\n",
|
||||
"\n",
|
||||
"Learn more about explicit image detection at: [Detect explicit content](https://cloud.google.com/vision/docs/detecting-safe-search)"
|
||||
"Define a function to query the Cloud Vision API to detect potential explicit images.\n",
|
||||
"\n",
|
||||
"Learn more about [Detect explicit content](https://cloud.google.com/vision/docs/detecting-safe-search)."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -590,7 +592,8 @@
|
||||
"id": "e330a70627ed"
|
||||
},
|
||||
"source": [
|
||||
"Define a function to convert safe search annotation results to a boolean value"
|
||||
"### Define safe search annotation conversion to boolean values\n",
|
||||
"Define a function to convert safe search annotation results to a boolean value."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -628,12 +631,14 @@
|
||||
"id": "aded0a519b0c"
|
||||
},
|
||||
"source": [
|
||||
"### Perform rate-limited explicit image detection\n",
|
||||
"\n",
|
||||
"Google Cloud Vision has a rate limit for API requests.\n",
|
||||
"\n",
|
||||
"Use a rate limiter to ensure the requests go under this limit.\n",
|
||||
"For better performance, use a ThreadPool to make parallel requests. This is out-of-scope for this notebook.\n",
|
||||
"\n",
|
||||
"See [Quotas and Limits](https://cloud.google.com/vision/quotas?hl=en) for details."
|
||||
"Learn more about [Quotas and Limits](https://cloud.google.com/vision/quotas?hl=en)."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user