Count_tokens 403 (File API Permission) BUG - tested on Cookbook Colab

Hi Alan

From the image that you used, I can see that it is necessary to replace the expression [your_file] with the name of your audio file. According to the example shown in the cookbook, it would look like this: ‘’‘model.count_tokens(‘sample.mp3’)’‘’.See in this image:

Hope that helps :sunny: