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
Dawood Khan
55e6f40f80
Typeable value on gradio.Slider ( #2329 )
...
* typeable number slider
* fix hardcoded files in test configs
* test
* test fix
2022-09-26 23:00:02 -04: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
Abubakar Abid
88e9c19c27
Cleaning up the way data is processed for components ( #1967 )
...
* remove preprocess_example
* removing methods
* added path support for images
* fixes
* video
* formatting
* fixing preprocess
* fixes
* removed from audio
* fixed file
* formatting
* serialization
* foramtting
* formatting
* removed save flag / restore flag
* formatting
* removed flagging
* removed
* load value
* fixing typing
* fixes, typing
* fixes
* file
* handling images
* formatting
* fixed serializing for flagging
* formatting
* json
* temp file
* removed processing
* changed processing
* fixed temp FINALLY
* flagging works
* fix examples test
* formatting
* async examples
* working on mix
* comment out failing test
* fixed interface problem
* fix kitchen sink deprecation warning
* gallery examples
* fixes
* fixes to serialization
* fixing label serializing
* fixed file serialization
* kitchen sink restored
* outbreak forecast updated
* formatting
* formatting and api mode
* fix 1 test :/
* fixing tests
* fixed components tests
* remvoed test files
* formatting
* fixed examples
* fixes
* formatting
* restored certain files
* added encryption
* fixed syntax mistake
* formatting
* fixed 1 test
* clean up interface
* formatting
* fixed route tests
* more fixes
* formatting
* formatting
* fixing pipeline
* format frontend
* format backend
* tweaks
* fix
* fix final test?
* merged
* Sanitize for CSV (#2017 )
* sanitize for csv
* added sanitization logic
* fixed examples
* turn cache off
* fixed example caching with optional inputs
* fixed review problems
* fixed Interface.load
* updating the tests
* updating the tests
* fix
* fixed seriailizing
* testing
* rewrite run prediction
* formatting
* await
* fixes
* formatting
* finally fixed mix
* fixed tests
* formatting
* formatting
* deserialize fix
* formatting
* fixes
* fixes
* fix
* fix tests
* fixes
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-08-23 08:31:04 -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
Freddy Boulton
21f9da9380
Automatically deploy kitchen sink to spaces on release ( #1994 )
...
* Add step to deploy to spaces on release
* Import package not modules
* Lint
* Add comment on slack
2022-08-12 11:51:36 -04:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests ( #1588 )
...
* tests
* more tests
* more tests
* remove files
2022-07-01 01:27:47 -04: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
aliabid94
569a16998d
fix slider ( #1268 )
2022-05-15 23:55:35 -07: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
eca95a549d
Timeseries improvements ( #1149 )
...
* ensure chart works with decimal values + generatesaxis lines for values below 10
* add negative example
* use color palette for chart
* add colors kwarg to Timeseries
* fix test?
2022-05-03 14:05:17 -07:00
pngwn
2b0898b9a2
Scroll to output ( #1077 )
...
* implement loader + scroll into view
* changes
* refactor components to use Block inside the app
* cleanup
* cleanup
* implement all changes for all changes for all relevant components
* fix formatting
* demos
* add status tracker to every component
* fix tests
* fix unti test flake: randInt
* cleanup CI
* fix CI
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Abubakar Abid
5fa69783e9
fixed more demos
2022-03-28 14:58:30 -07:00
Lysandre
5522fa4d6a
Upgrade black to version ~=22.0
2022-02-08 13:56:13 -05:00
Ali Abid
d71e60e2c5
minor fixes
2022-01-26 22:02:34 -08:00
dawoodkhan82
413ae00549
fix conflicts
2022-01-26 22:01:07 -05:00
dawoodkhan82
788bb15a40
merge master
2022-01-26 21:59:29 -05:00
aliabid94
d6b1247e21
Svelte migration (WIP) ( #448 )
...
* first migration commit
* style comment
* first mvp working with calculator
* ali components
* carousel
* more changes
* changes
* add examples
* examples support
* more changes
* interpretation
* interpretation
* submission state
* first migration commit
* style comment
* first mvp working with calculator
* ali components
* carousel
* more changes
* changes
* add examples
* examples support
* more changes
* interpretation
* interpretation
* submission state
* base image cropper
* add image editor
* css tweaks
* remove dead code
* finalise sketch tools
* add webcam snapshot source
* tweak config
* tweak config
* tweak config
* tweaks
* reset egg files
* lockfile v2
* image tweaks
* record audio from mic
* add audio input components
* audio tweaks
* editable table
* more table tweaks
* sort columns
* add row/col to table
* add output table
* fix broken paths
* fix svelte build destination
* fix svelte build destination again
* fix gitignore
* fix css
* add themes
* add all themes
* snake core classnames
* actually fix themes this time
* merge changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: pngwn <hello@pngwn.io>
2022-01-26 18:33:49 -08:00
Ömer Faruk Özdemir
cc0cff893f
Format The Codebase
...
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Ali Abid
6560f53647
changes
2022-01-12 11:12:07 -08:00
Ali Abid
5c0fc0148d
more changes
2022-01-11 15:08:27 -08:00
Ali Abid
8a3e08defa
ali components
2022-01-10 21:22:44 +00:00
Ali Abid
4e5df36046
theme updates!
2022-01-03 17:46:07 +00:00
Ali Abid
5020f8aa1f
cache examples functionality; other fixes
2021-12-30 08:20:28 +00:00
Ali
36f2da66ec
add kitchen sink
2021-12-20 17:20:29 -08:00
Ali Abid
8d23f067a2
theme-preview
2021-12-17 10:52:19 +00: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