Commit Graph

6 Commits

Author SHA1 Message Date
aliabid94
9b42ba8f10
Update guides esp plots (#8907)
* changes

* changes

* revert changes

* changes

* add changeset

* notebooks script

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-07-29 22:08:51 -07:00
Abubakar Abid
d1f044145a
Use covariant container types across the codebase and add typing to our demos (#8854)
* more typing

* add changeset

* tweaks

* more changes

* more fixes

* more changes

* more fixes

* more fixes

* delete

* add changeset

* notebooks

* restore

* restore

* format

* add changeset

* more typing fixes

* fixes

* change

* fixes

* fix

* format

* more fixes

* fixes

* fixes for python3.9

* demo

* fix

* fixes

* fix typo

* type

* formatting

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-07-19 18:34:34 -07:00
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
Abubakar Abid
957ba5cfde
Prevent bokeh from injecting bokeh js multiple times (#5795)
* remove dep line in demo

* linting

* linting

* fix

* merge

* add changeset

* lint

* notebook:

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-05 11:17:49 -07:00
Aarni Koskela
ef3862e075
Switch linting to Ruff (#3710)
* Sort requirements.in

* Switch flake8 + isort to ruff

* Apply ruff import order fixes

* Fix ruff complaints in demo/

* Fix ruff complaints in test/

* Use `x is not y`, not `not x is y`

* Remove unused listdir from website generator

* Clean up duplicate dict keys

* Add changelog entry

* Clean up unused imports (except in gradio/__init__.py)

* add space

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-03 15:48:18 -07:00
Freddy Boulton
3530a86433
Fix bokeh Plots (#3212)
* Add implementation

* Simpler approach

* Fix extra updates

* Fix python tests

* CHANGELOG + add bokeh plot demo

* Center content

* Fix value=bokeh case

* Add image to changelog

* Add notebook file

* Undo accidental changes

* Add missing plot type

* Fix type hints

* Fix requirements

* Lint

* Fix requirements

* remove lorenz

* Fix notebooks

* Remove bokeh demo

* Fix plot

* Don't use beforeUpdate

* FIx demo: Add load_event + bump bokeh>3.0

* Only load bokeh if needed

* Fix tests

* lint

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 16:47:06 -05:00