Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider putting a Colab link in each notebook. #162

Open
deanwampler opened this issue Nov 20, 2024 · 1 comment
Open

Consider putting a Colab link in each notebook. #162

deanwampler opened this issue Nov 20, 2024 · 1 comment

Comments

@deanwampler
Copy link

deanwampler commented Nov 20, 2024

I was browsing https://github.com/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Granite_Guardian/Granite_Guardian_Usage_Governance_Workflow.ipynb on GitHub and it occurred to me that it would be great if I could click a Colab button right there and open this notebook in Colab immediately. Right now, I would have to know that I can navigate to the project README to find that link, which is a bit tedious.

Since GitHub renders notebooks, this seems like a feasible idea. Even if it won't work when viewing on GitHub, it would still be occasionally useful for people viewing the notebook in Jupyter who spontaneously decide to switch to Colab.

@deanwampler
Copy link
Author

I confirmed that it does in fact work to click on a colab link in a notebook that is being rendered by GitHub. For example: https://github.com/ibm-granite-community/granite-snack-cookbook/blob/deanw/colab-button-per-notebook/recipes/Granite_Guardian/Granite_Guardian_Quick_Start.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant