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
aliabid94
a238af4d68
Refactor plots to drop altair
and use vega.js
directly ( #8807 )
...
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* add changeset
* changes
* add changeset
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* 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: Abubakar Abid <abubakar@huggingface.co>
2024-07-22 09:52:48 -07:00
Freddy Boulton
5e36144232
Add guides for msg format and llm agents ( #8750 )
...
* Add guides
* add changeset
* Add code
* Add code
* Add notebook
* rename msg_format to type
* Fix docs
* notebooks
* missing link
* Update guides
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-07-12 11:53:28 +00:00
aliabid94
1500b89e13
Allow app to fill width ( #8651 )
...
* changes
* add changeset
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-11 12:53:36 -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
aliabid94
0909c35102
Duplicate spaces integration into gradio ( #4458 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
2023-06-21 12:25:25 -07:00
pngwn
d6b6c87c4f
Remove mocks ( #4550 )
...
* changes
* changes
* remove mocks
* fix scripts
* tweak port
* add logs
* add logs
* do tests again
* tweaks
* fixes
* regen notebooks
* change workers
* change workers
* try to speed up ci
* try again
* try again
* try again
* try again
* try again
* fix actions
* again
* again
* again
* again
* again
* again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* add names to frontend ci steps
2023-06-19 21:02:03 +01:00
aliabid94
608d3b6250
Python backend to theming ( #2931 )
...
* add theme + theme atoms
* audio
* buttons
* chatbot
* forms
* start file
* complete file
* fixup workbench
* gallery
* highlighted text
* label
* json
* upload
* 3d model
* atoms
* chart
* md + html
* image
* plot + build
* table
* tabs
* tooltip
* upload
* tweaks
* tweaks + more tooling
* tweaks to padding/ lineheight
* app components _ start api docs
* format, more api docs
* finish api docs
* interpretation
* todos
* tweaks + cleanup
* tweaks + cleanup
* revert range tweaks
* fix notebooks
* fix test
* remove tw
* cleanup + login
* fix gitignore
* fix types
* run css script
* fix progress + tweaks
* update demos
* add css build to static check workflow
* tweak ci
* fix tests
* tweak markdown
* tweak chatbot + file
* fix tabs
* tweak tabs
* cleanup
* fix api docs
* fix example gallery
* add gradient to toast
* fix min height for interfaces
* revert tab changes
* update notebooks
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* undo radius
* undo radius
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* undo
* Add absolute imports
* mock theme in tests
* clean
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:52:31 -08:00
aliabid94
9c811ed892
Add info= parameter to form type inputs to provide more context for users ( #3291 )
...
* changes
* changes
* changes
* changes
* changes
* changes
2023-02-22 15:16:15 -08: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
ed4f3e4ffd
add snapshot testing ( #2438 )
...
* add snapshot testing
* bump ci image
* tweak
* tweak
* fix gitgignore
* fix gitgignore
* dedicated snapshot script
* clean up tests
* tweaks
* fix ci
* fix script
* oops
* fix
2022-10-12 17:30:42 +01:00
Abubakar Abid
6c33eed976
Promotes postprocess
and preprocess
to documented parameters ( #2293 )
...
* changes
* Delete media_data.py.isorted
* fixes in other files
* fixes in other files
* added for grid
* removed status tracker
* removed status tracker
* added deprecation warning
* formatting
2022-09-19 19:38:17 -05:00
aliabid94
99833d506e
Refactoring Layout: Adding column widths, forms, and more. ( #2097 )
...
* changes
* changes
* fix
* change
* change
* changes
* changes
* changes
* changes
* change
* remove test config outputs
* fix wflow
* attempt root user
* attempt root user
* attempt root user
* attempt root user
* changes
* changes
* changes
* changes
* changes
* change
* changes
* change
* Update gradio/layouts.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 19:51:01 -07:00
Dawood Khan
13915f9c11
[Integration Tests] Update a demo's config.json as part of integration test ( #2005 )
...
* add script to create configs for test demos
* no message
* fixes
* fixes
* fix
* test fix
* test fix
* format
* fix
2022-08-17 15:43:26 -04:00
Dawood Khan
babbb7eb41
Add new i18n tokens ( #1751 )
...
* add new i18n tokens
* fixes
* fixes
* format
2022-07-22 21:32:55 +01: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
Ali Abdalla
42cee33dcf
API Docs with support for Blocks ( #1397 )
...
* backend
* updated PyPi version to 3.0.10
* updated PyPi version to 3.0.9b10
* fixes
* updated PyPi version to 3.0.9b11
* changes
* changes
* changes git push
* changes
* undo
* fixes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 09:10:42 -07:00
Dawood Khan
2eaf61cf76
Integration tests ( #1182 )
...
* some integration tests
* more integration tests
* more tests
* update integration tests
* format
2022-05-27 04:53:50 -04:00
Radamés Ajna
73e98ddf15
Small fixes for multiple demos compatible with 3.0 ( #1257 )
...
* add required param but None
* import torch req, add chunk_length_s
import torch requirement for transformers
enable inference for longer audio files
* fix compononte initialization
* input number is float, force int to multipy string
* no need for Templates, fix class init
* expects array
* add requirements.txt for demo
* update with cleaner syntax
* add sample csv to fraud demo
* adapt to new syntax
* temp fix for Slider arguments
* add dep to requirements
* remove gr.Markdown from Interface init
* fix default value param name
* upgrade deepspeech, download models onstart
* use path resolution consistent with other demos
* remove redundant demo
* add example to interface
* fixed plotting issues
* plots
* deprecated carousel
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-13 22:45:44 -07:00
aliabid94
ce47c48ebc
Update component config ( #1089 )
...
* first commit
* changes
* restore defualt_value name
* changes
* rm value=
* rm value=
* rm value=
* changes
* changes
* changes
* rename default_val to value
* changes
* changes
* changes
* changes
* format
* changes
* changes
* format
* test fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
pngwn
ce77c73551
add select event for tabitems ( #1154 )
2022-05-03 18:21:29 +01:00
aliabid94
1c2f430a7e
Progress indicator bar ( #997 )
...
Create Status Tracker component to report progress on function calls
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-15 02:20:19 -07:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components ( #992 )
...
* added interactive parameter to components
* respect interactive prop
* fixed input tests
* fixed output tests
* fixed test_components.py
* fixed test blocks
* fixed test utils
* fixed formatting
* update test configs
* fix textbox static output
* static audio output
* static video output
* cleanup
* static inmage output
* Static Timeseries
* cleanup outptus fopr markdown _ html
* ensure dataframe can load in static mode
* tweaks
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
Abubakar Abid
65f5733ab4
New Blocks Demo: neural instrument cloning ( #975 )
...
* cleaning up launchable
* removing launchables broken
* deleted launchables
* relaunch parameters
* fixed close method
* formatting
* renamed blocks demos
* creating a new blocks demo
* added neural blocks demo
* format backend
* fixed naming bug i introduced
2022-04-11 20:50:21 -07:00