Commit 7b4fb62
Do not base64 encode the input content. [(#1241)](GoogleCloudPlatform/python-docs-samples#1241)
Protobuf handles the base64 encoding for you, and so the content was being base64 encoded twice.1 parent ef0120a commit 7b4fb62
File tree
1 file changed
+4
-5
lines changed- packages/google-cloud-videointelligence/samples/analyze
1 file changed
+4
-5
lines changedLines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | | - | |
| 182 | + | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
188 | | - | |
| 186 | + | |
| 187 | + | |
189 | 188 | | |
190 | 189 | | |
191 | | - | |
| 190 | + | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
| |||
0 commit comments