aliabid94
|
e1874aff81
|
Add gr.on listener method (#5639)
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
|
2023-09-25 15:25:16 -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
|
05715f5599
|
Adds a filterable parameter to gr.Dropdown that controls whether user can type to filter choices (#5508)
* dropdown
* changes
* add changeset
* refactor
* cleanup
* dropdown
* more refactoring
* fixes
* simplify, docstring
* restore active_index
* split into two files
* new files
* simplify
* single select dropdown working
* single select dropdown almost working
* dropdown
* multiselect
* multiselect wip
* multiselect
* multiselect
* multiselect
* interactive working
* dropdown
* lint
* add changeset
* type
* typing
* fix multiselect static
* dropdown
* stories and tests
* split stories
* lint
* add changeset
* revert
* add changeset
* fix x
* dropdown
* lint, test
* backend fixes
* lint
* fix tests
* lint
* fix final test
* clean
* review fixes
* dropdown
* lint
* lint
* changes
* typing
* fixes
* active index null bug
* adding filterable parameter to dropdown
* dropdown
* lint
* add changeset
* add changeset
* svelte
* fix test
* add changeset
* added warning
* lint
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
|
2023-09-12 18:36:29 -07:00 |
|
Mehdi Bahri
|
4ccb9a86f1
|
Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266)
* Allow setting alpha
* Allow setting beta and radius
* Formatting
* Change to tuple of (alpha, beta, radius)
* Renamed parameter
* Formatting
* add changeset
* add to update
* Change to tuple of (alpha, beta, radius)
* Renamed parameter
* Formatting
* Docstring for Model3D
* rename parameter
* add changeset
* type
* 180
* dupe
* 180
* linting
* lint
* lint
* add test
* Formatting in docstring + added what unit the angles are
* Added babylon types to model3d's package.json
* pnpm lockfile
* Type narrowing of helperCamera + assumed not null
* refactor
* docstring
* lint
* type checking
* fix test
---------
Co-authored-by: Mehdi <mehdi.bahri@epicgames.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
|
2023-08-29 17:02:05 -07:00 |
|
Dawood Khan
|
05892302fb
|
Adds kwarg to disable html sanitization in gr.Chatbot() (#5304)
* disable sanitize
* add changeset
* Fix devcontainer postCreateCommand (#5289)
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Rotate axes labels on LinePlot, BarPlot, and ScatterPlot (#5305)
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Added label_angle parameter to LinePlot
* add the x_label_angle and y_label_angle to the postprocess
* Add x_label_angle and y_label_angle to ScatterPlot
* Add x_label_angle and y_label_angle to BarPlot
* Remove postCreateCommand update from this PR, it is in its own PR
* Remove custumization on the devcontainer, it is on another PR
* Remove extra line on the devcontainer, it is on another PR
* add changeset
* update the parameter definition in the docstring
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* `make_waveform()` twitter video resolution fix (#5296)
* waveform res fix
* add changeset
* add changeset
* Improve audio streaming (#5238)
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Tweaks to `icon` parameter in `gr.Button()` (#5285)
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* test
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Allow caching examples with streamed output (#5295)
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
* change
* changes
* chages
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Create event listener table for components on docs (#5298)
* changes
* changes
* remove languages from code docs
* fix img path in guide
* rework event listeners
* add changeset
* remove console log
* name it event arguments
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* requested changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* fix (#5308)
* only start listening for events after the components are mounted (#5312)
* only start listening for events after the components are mounted
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Restores missing part of bottom border on file component (#5313)
* removes missing part of bottom border on file component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Test Blocks.svelte footer copy (#5307)
* test test
* fix test
* tweak
* tweak test name
* ensure login form has correct styles (#5324)
* fix changelog generation (#5328)
* Add ignore scripts to pnpm i in pypi action (#5316)
* add json generation to prepare
* add changeset
* remove pnpm prepare
* add changeset
* bring back prepare, add ignore scripts
* delete changeset
* add to right commadn
* add frozen lockfile to gh_action_pypi
* remove unused gh_action_pypi script
* remove unused scripts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* ensure dropdown stays open when identical data is passed in (#5323)
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix ci again again again (#5329)
* fix changelog generation
* fix changelog generation
* fix
* chore: update versions (#5326)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix ci again again again (#5330)
* fix changelog generation
* fix changelog generation
* fix
* fix script
* Fix ci again again again (#5331)
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* Fix ci again again again (#5332)
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* Fix ci again again again (#5333)
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* fix vars
* Fix Checkbox select dispatch (#5340)
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Minor bug fix sweep (#5284)
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a .
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix: wrap avatar-image in a div to clip its shape (#5319)
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5341)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* add kwarg to markdown
* add changeset
* config
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Faiga Alawad <faiga.alawd91@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Keldos <Keldos.ljw@gmail.com>
|
2023-08-29 00:26:29 -04:00 |
|
pngwn
|
fe057300f0
|
delegate gradio events via a custom event dispatcher (#5279)
* delegate gradio events via a custom event dispatcher
* improve md perf + share code
* fix df markdown
* prevent model3d from rerending too frequently
* tweaks
* fix more event bugs with video
* add changeset
* optimise handle mount
* does this do anything
* fix
* remove old dispatches
* fix dropdown position
* oops
* fixes
* fix tests
* fix types
* format
* fix markdown code
* add changeset
* fix typecheck
* fix typecheck
* fix demos
* notebooks
* fix tests
* changer
* maybe this
* fixes
* add changeset
* fix chatbot alignment mobile
* fix chantbot
* add changeset
* changeset
* changeset
* storybook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
|
2023-08-23 21:48:10 +01:00 |
|
Abubakar Abid
|
f49028cfe3
|
Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components (#5268)
* changes
* katex
* add changeset
* dataframe
* add changeset
* latex in dataframe
* add changeset
* lint
* lint
* stories and types
* stories
* type
* restore lock
* pnpm lock
* fix backend tests
* xray configs
* test files
* test utils
* fix utils
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
|
2023-08-21 06:54:20 -07:00 |
|
pngwn
|
1419538ea7
|
Refactor component directories (#5074)
* asd
* changes
* fix everything
* cleanup
* add changeset
* fix casing
* lockfile
* fix casing
* fix ci, enable linting
* fix test
* add changeset
* add changeset
* delete changeset
* fix dirs
* fix casing
* fix notebooks
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
|
2023-08-03 23:01:18 +01:00 |
|
pngwn
|
963c2d26ee
|
3712 js client (#3899)
|
2023-05-12 16:22:25 +01:00 |
|
Abubakar Abid
|
d3b7f73bcf
|
Update view api page to use Python client (#3765)
* Update view api page
* simplify
* update
* changes
* changes
* updated info
* formatting
* changes
* fixes
* save
* moved
* remove test input
* tweaks
* formatting
* add raw
* serialize
* fixes
* refactor
* fixes
* fixes
* Fetch api
* lower case
* view api
* fix tests
* format
* rough design
* readme
* api docs
* examples
* format
* formatting
* format
* version
* client changes
* formatting
* update client
* more example inputs
* api docs fixes
* remove notebook
* fix demo
* demo notebook
* styling on code snippet
* formatting
* fix audio, model3d
* format
* fix tests
* version
* cleanup
* format
* format
* format
* fixes
* version
* fix tests
* version
* format
* test
* format
* changelog
* changelog
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
|
2023-04-13 16:20:33 -07:00 |
|
Greysuki
|
54af6ae290
|
Adding subtitles to gr.Video (#3673)
* v2 version now accepts video and subtitle format inputs.
* remove debug log and some format issue
* Update CHANGELOG.md
* Upload components.py and regenerate demo
* fix components and add comment to function
* fix postprocess return format
* changelog
* demo change to gr.Interface type
* fix file_types
* fixes
* added video serializer
* clean up preprocess
* clean up postprocess
* formatting
* frontend
* fixed serialization
* dataclass
* fix serialize
* version
* fix tests
* version
* changelog
* typing
* version
* changelog
* version
* versin
* fix tests
* fix tests
* backend
* test
* changes
* relax test
* fix demo
* notebook
* changes
* fix
* changes
* Update gradio/components.py
* Update client/python/gradio_client/client.py
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
|
2023-04-11 16:06:48 -07:00 |
|
aliabid94
|
f34120c077
|
Support large files try 2 (#3191)
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* changes
* changes
* merge
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
|
2023-02-17 15:31:02 -08:00 |
|
Abubakar Abid
|
adf52d2dad
|
Label component now accepts file paths to .json files (#2083)
* added label support for file paths
* formatting
|
2022-08-25 15:26:27 -07:00 |
|
Freddy Boulton
|
75b51808e2
|
Convert video to playable format if ffmpeg installed (#2003)
* Add implementation + tests
* Add comments'
* Add warning
* Update docs
* Refactor logic
* 3.7 fix attempt
* Fix 3.7 take 2
* Return original video if the conversion fails
* Use ffmprobe + restrict scope of exception
* Fix for windows
* Fix tests
|
2022-08-16 13:21:13 -04:00 |
|
Abubakar Abid
|
5fe02164f9
|
Fixes to gr.Examples (#1952)
* still working
* remove exampleset logic
* wip
* added tests and fix
* fixed header issue
* more tests
* formatting
* removed print
* Update gradio/examples.py
* used context managers
* more readable
* removed unnecessary start index
* formatting
|
2022-08-08 10:35:26 -07:00 |
|
Abubakar Abid
|
74703898c6
|
Model3d fix (#1342)
* fixing postprocessing
* fixed value
* formatting
* fixes
* model3d
* typing
* formatting
* formatting
* components
* fixed defaults
* fixed tests
* formatting
* removed unused import typing error
* fixed up model3d tests
* model3d
* formatting
* fix default value interactive bug
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
|
2022-05-20 17:53:27 -07:00 |
|
dawoodkhan82
|
c03f7b2f3a
|
add tests
|
2022-03-28 14:37:50 -04:00 |
|
aliabid94
|
b4d9825409
|
Website: WIP (#328)
Ported gradio website into gradio repository, now launched as a docker service from gradio/website
|
2021-12-13 22:02:19 -08:00 |
|
aliabd
|
789f3f9987
|
full tests for inputs.py
|
2021-11-02 13:17:35 -07:00 |
|