This step complains of access issue that storage.buckets.get access is missing even if you give Storage Admin role to the user. By the way, the Storage Object Admin role listed above doesnt have storage.buckets.get access listed in its scope.
display_audio( audio_url="gs://public-aaie-genai-samples/gemini/prompting_recipes/multimodal/audio/sound_1.mp3" )
Suggestion:
Download the file locally
!gsutil cp gs://public-aaie-genai-samples/gemini/prompting_recipes/multimodal/audio/sound_1.mp3 .
and
change the above command to display_audio( audio_url="file:///content/sound_1.mp3" )
I tested it and it works.
This step complains of access issue that
storage.buckets.getaccess is missing even if you give Storage Admin role to the user. By the way, the Storage Object Admin role listed above doesnt havestorage.buckets.getaccess listed in its scope.display_audio( audio_url="gs://public-aaie-genai-samples/gemini/prompting_recipes/multimodal/audio/sound_1.mp3" )Suggestion:
Download the file locally
!gsutil cp gs://public-aaie-genai-samples/gemini/prompting_recipes/multimodal/audio/sound_1.mp3 .and
change the above command to
display_audio( audio_url="file:///content/sound_1.mp3" )I tested it and it works.