Archit-Kohli
921716f618
Fixed visibility issue for all notebooks on GitHub ( #5917 )
...
* fixed visibility error in notebooks in github
* Delete fixNotebooks.py
deleted script used to fix notebooks
* Update generate_notebooks.py
fixed a small bug that prevented visibility of notebooks in GitHub
2023-10-15 18:16:57 -07:00
aliabid94
da05e59a53
Removing .update and get_config, attempt 2 ( #5240 )
...
* changes
* add changeset
* changes
* changes
* Update many-tips-create.md
* notebooks
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changew
* changes
* changes
* changes
* changes
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Revert "changes"
This reverts commit 0868c25c56
.
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* chaneges
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* fix typing
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-09-18 21:17:06 -07:00
Abubakar Abid
4729457929
Add a gr.ClearButton
( #4456 )
...
* clear button
* restore
* button in interface
* changelog
* fixes
* simplify
* changes
* components
* changed dropdown behavior
* fix label
* add tests
* update demos
* changelog
* changelog
* restore
* formatting
* revert dropdown
* frontend changes
* other fixes
* changelog
* update guide
* future
* fix tests
* fix tests
* fix tests
* changelog
* update guide
2023-06-13 19:18:14 -05:00
Tasha Upchurch
94c9512df9
the original demo would fail after switching to the 3rd tab once, by … ( #2971 )
...
* the original demo would fail after switching to the 3rd tab once, by not returning to it again when directed to.
it appears that somewhere in tabs, that selected is not being updated when a tabitem is selected.
* Changelog + notebooks:
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-13 13:41:53 -05:00
Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos ( #2608 )
...
* add generate_notebooks and run it
* add buttons to demos tab
* add buttons to docs
* add github check
* fix erros
* Update run.py
* Update run.py
* fix github action
* add nbformat
* wget files from demo directory
* testing with regex
* typo in github action
* cd first
* correct notebooks
* remove prit
* testing
* regenerate ids in notebooks
* testing action
* testing action
* testing action
* sort files before wget so no git diff
* skip DS store and others as sub files
* example demo change without notebook change
* fixes
* example demo change without notebook change
* example regenerated notebooks
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update .github/workflows/check-demo-notebooks.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* gh action comments
* gh action syntax
* gh action syntax fixes
* test demo change without generating notebooks
* ran the suggested command
* remove unnecessary script
* add notebook for upload button demo
* switch to pull_request_target
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
pngwn
8c4e134094
allow users to update the current tab from python SDK ( #1709 )
...
* allow users to update the current tab from python SDK
* rename var
* ensure tabs work when no selected or id kwargs are passed
* update xray config
* update test
* update test again
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* change false to None
* update test configs
* fix test
* fix test
* update global tab selection
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-07 15:37:51 +01:00
Abubakar Abid
8ad401ba33
Blocks rendering fix ( #1102 )
...
* optional labels
* added prop
* Added IOComponent class
* get component fix
* fixed component function
* fixed test components
* formatting
* fixed output tests
* working on blocks tests
* fixed test blocks
* cleanup
* merged
* unrender
* add article
* formatting
* fixed render()
* added demo
* formatting
* merge main
* formatting
* cleanups
2022-04-28 01:51:54 -07:00