The 2 notebooks in the paligemma dir are currently not sync'ing with the respective copy on ai.google.dev.
There are 2 factors here: 1) the notebooks have no outputs saved, which indicates that they should be executed during import and 2) the notebooks assume they are executing within Colab, which is not true during import, nor true for all external users.
The specific error is:
ModuleNotFoundError: No module named 'google.colab'
Actual vs expected behavior:
Notebooks should run in non-Colab environments.
Any other information you'd like to share?
Notebooks ideally also run unassisted in a clean environment, but if that's not possible (e.g. keys required) then saving outputs will prevent them being executed during import.
Description of the bug:
The 2 notebooks in the
paligemma
dir are currently not sync'ing with the respective copy on ai.google.dev.There are 2 factors here: 1) the notebooks have no outputs saved, which indicates that they should be executed during import and 2) the notebooks assume they are executing within Colab, which is not true during import, nor true for all external users.
The specific error is:
Actual vs expected behavior:
Notebooks should run in non-Colab environments.
Any other information you'd like to share?
Notebooks ideally also run unassisted in a clean environment, but if that's not possible (e.g. keys required) then saving outputs will prevent them being executed during import.