-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enable gradio to work on kaggle #3101
Conversation
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-3101-all-demos |
having trouble installing that gradio build in a kaggle notebook |
@dawoodkhan82 did you enable internet access for your kaggle notebook? I was having troubles at first too. You have to authenticate your kaggle account with a phone number and then you will see this "Internet" toggle button in the settings tab on the right hand side of the notebook |
Yes it works. Didn't realize I signed in using my hf email instead of my kaggle verified email. |
f6419a8
to
837cce0
Compare
Thank you for the review @dawoodkhan82 ! |
* Fix bug * CHANGELOG demo fix-tabs (gradio-app#3055) * fix-tabs * Reformat changelog Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> video-bug-demo Another bug Fix video and file events bugs demo.ipynb fix space embeds using `src` attribute (gradio-app#3065) * change ports in dev mode * changelog * correctly detect space embeds * changelog * formatting fix css scoping (gradio-app#3059) Fix auth on spaces (gradio-app#3049) * Add route alias * on button click * Fix config * Do not redirect * Use login to check if other route necessary * Add message about HF spaces * CHANGELOG * Add gif to changelog Fix Sketch clearing bug (gradio-app#3047) * bug fix * changelog * undo fix Release version 3.17.0 (gradio-app#3074) * version 3.17.0 * changelog New Version Docs (gradio-app#3087) Chatbot loader (gradio-app#3079) * changes * chagnes * changes * changes * changes * changes --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Changelog and format front changelog fix Change demo video and image Fix image rotation on iOS (gradio-app#3091) * rotate image based on exif tag * rotate on backend * CHANGELOG * Only rotate if needed * Add image comparison to changelog --------- Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com> Set minimum markdown-it-py version to 2.0.0 (gradio-app#3102) * Bump requirements * CHANGELOG only mount fonts in prod mode (gradio-app#3100) * only mount fonts in prod mode * cleanup --------- Co-authored-by: aliabid94 <aabid94@gmail.com> Fix change event listener (gradio-app#3095) * changes * changes --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: pngwn <hello@pngwn.io> [Minor] Correct link (gradio-app#3109) * Correct link * Update CHANGELOG.md Enable gradio to work on kaggle (gradio-app#3101) * enable share kaggle * Add test * CHANGELOG * Add image to changelog Fix example gallery mode (gradio-app#3090) * Fix example gallery mode * CHANGELOG fix changelog fix changelog
Description
Enable gradio to run on kaggle notebooks via share link
Test with this notebook: https://www.kaggle.com/code/freddyboultonhf/kaggle-gradio-share
Basically install this gradio build: https://gradio-builds.s3.amazonaws.com/kaggle-launch/attempt-1/gradio-3.17.0-py3-none-any.whl
Checklist:
A note about the CHANGELOG
Hello 👋 and thank you for contributing to Gradio!
All pull requests must update the change log located in CHANGELOG.md, unless the pull request is labeled with the "no-changelog-update" label.
Please add a brief summary of the change to the Upcoming Release > Full Changelog section of the CHANGELOG.md file and include
a link to the PR (formatted in markdown) and a link to your github profile (if you like). For example, "* Added a cool new feature by
[@myusername](link-to-your-github-profile)
in[PR 11111](https://github.com/gradio-app/gradio/pull/11111)
".If you would like to elaborate on your change further, feel free to include a longer explanation in the other sections.
If you would like an image/gif/video showcasing your feature, it may be best to edit the CHANGELOG file using the
GitHub web UI since that lets you upload files directly via drag-and-drop.