Freddy Boulton
0ed76aa32b
Add back component info ( #1741 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-11 10:15:54 -04:00
Abubakar Abid
06bfb6b218
Updated atomicwrites
version ( #1742 )
...
* commented out test
* updated atomicwrites
* undo commenting out
2022-07-08 18:11:29 -05:00
Freddy Boulton
54f330af48
Add examples component to docs ( #1729 )
...
* Add examples to docs
* Adding guide for examples
* Exclude guides from methods
* PR feedback: typos, different allowed values of examples, docstrings
2022-07-08 11:32:08 -04:00
Ali Abdalla
8455950009
add favicon ( #1733 )
2022-07-08 17:32:01 +02: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
c9f522e02b
Allow excluding input components in examples ( #1722 )
...
* ignore None examples
* formatting
* added demo
* fixed test
2022-07-06 21:30:51 -07:00
aliabid94
1f955f7b95
Live website [hotfix] ( #1724 )
...
* fix audio output cache (#804 )
* fix audio output cache
* changes
* version update
Co-authored-by: Ali Abid <aliabid94@gmail.com>
* Website Tracker Slackbot (#797 )
* added commands to reload script
* catch errors with git pull
* read new webhook from os variable
* correcting bash
* bash fixes
* formatting
* more robust error checking
* only sends success if git changes
* catching error from script
* escaping error text to send with curl
* correct text escaping for error message
* fix search bug in guides (#809 )
* Update getting_started.md (#808 )
* Fix type of server returned by `Launchable` (#810 )
* `Launchable` returns a FastAPI now
* Update .gitignore
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 96f203108b
]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3
* Add a missing line to getting started (#816 )
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
Former-commit-id: 20523b0519
* changes
* changes
* Homepage: header image size (#1347 )
* image size
* image in local assets
* add dall-e mini banner
* undo ui changes
* changes
* changes
* updates
* updates
* changes
* changes
* changes
* h11 dependency
* add npm build-mac
* expand demo button to all classes
* add demos to docstrings
* add anchor tags to headers
* add required tag to param table
* add consistent styling for headers
* skip param beginning with underscore from docs
* skip kwargs param from docs
* remove types in param docstring
* override signature to reflect usage
* add supported events
* add step-by-step guides
* fix guide contribution link
* add related spaces
* fix img styling on guides
* pin quickstart, advanced, and block guides to top
* margin fix
* autogenerated copy buttons for all codeblocks
* changes
* documentaiton
* format
* launch
* formatting
* style changes
* remove backticks
* changes
* changes
* hotfix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 17:03:35 -07:00
aliabid94
70ebf698fa
Live website changes ( #1578 )
...
* fix audio output cache (#804 )
* fix audio output cache
* changes
* version update
Co-authored-by: Ali Abid <aliabid94@gmail.com>
* Website Tracker Slackbot (#797 )
* added commands to reload script
* catch errors with git pull
* read new webhook from os variable
* correcting bash
* bash fixes
* formatting
* more robust error checking
* only sends success if git changes
* catching error from script
* escaping error text to send with curl
* correct text escaping for error message
* fix search bug in guides (#809 )
* Update getting_started.md (#808 )
* Fix type of server returned by `Launchable` (#810 )
* `Launchable` returns a FastAPI now
* Update .gitignore
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 96f203108b
]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3
* Add a missing line to getting started (#816 )
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
Former-commit-id: 20523b0519
* changes
* changes
* Homepage: header image size (#1347 )
* image size
* image in local assets
* add dall-e mini banner
* undo ui changes
* changes
* changes
* updates
* updates
* changes
* changes
* changes
* h11 dependency
* add npm build-mac
* expand demo button to all classes
* add demos to docstrings
* add anchor tags to headers
* add required tag to param table
* add consistent styling for headers
* skip param beginning with underscore from docs
* skip kwargs param from docs
* remove types in param docstring
* override signature to reflect usage
* add supported events
* add step-by-step guides
* fix guide contribution link
* add related spaces
* fix img styling on guides
* pin quickstart, advanced, and block guides to top
* margin fix
* autogenerated copy buttons for all codeblocks
* changes
* documentaiton
* format
* launch
* formatting
* style changes
* remove backticks
* changes
* changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 16:22:10 -07:00
aliabid94
0c2c956329
Fix versioning in requirements ( #1680 )
...
* fix
* fix
* changes
2022-07-06 15:45:59 -07:00
Abubakar Abid
a1c391668a
Exposing examples as a component for Blocks ( #1639 )
...
* examples as component
* renamed examples
* simplify internal logic
* fix tests
* cleanup
* fixed parallel and series
* cleaning up examples
* examples
* formatting
* fixes
* added unique ids
* added demo
* formatting
* fixed test_examples
* fixed test_interfaces
* fixed tests
* removed test from now
* raise ValueError for bad parameter values
* fixing series
* fixed series
* formatting
* speed up by preprocessing examples
* fixed parameter validation logic
2022-07-06 11:23:35 -07:00
Abubakar Abid
44e9a4d054
Fix assert_configs_are_equivalent_besides_ids()
( #1700 )
...
* fixed importlib
* reverted pkg resources
* fixed assert
* fixed xray config
* formatting
* ignored status tracker
* assert
* added copy
* formatting
* addressed feedback
* formatting
* unnecessary copy
2022-07-05 15:19:41 -07:00
Freddy Boulton
1176180ac3
Run integration tests on all prs ( #1712 )
...
* Run integration tests on all prs
* Trigget CI
* Use defaults
2022-07-05 17:43:46 -04:00
Abubakar Abid
e2cebde5e6
Allows setting custom <title> ( #1703 )
...
* fix title issue
* formatting
* docstrings and demos
2022-07-05 14:21:20 -07:00
pngwn
92889b7b93
1220 mirror webcam ( #1686 )
...
* support webcam mirroring for images
* flip video in preprocessor
* finalise webcam mirroring
* address review comments
* fix formatting
* improve video UI
* fix tests
* fix tests again
2022-07-05 17:30:02 +01:00
Peder Bergebakken Sundt
745e69d75c
Distribute gradio.test_data on pypi ( #1706 )
2022-07-05 11:28:59 +03:00
Luigi Cerone
8f89270f50
Color picker ( #1695 )
...
* Add new colorpicker component skeleton
* Updated colorpicker skeleton with some functionalities
* - Fix default input color
- Change input style
* Add colorpicker demo
* Add tests and code format
Co-authored-by: mfumanelli <fumanellimartina@gmail.com>
2022-07-05 08:50:17 +03:00
Abubakar Abid
68afe67497
test hotfix ( #1705 )
...
* test hotfix
* init
2022-07-04 15:29:19 -07:00
Abubakar Abid
8c9419fce1
Version hotfix ( #1704 )
...
* hotfix
* fix
2022-07-04 13:06:24 -07:00
Abubakar Abid
c710becf60
release 3.0.23 ( #1696 )
2022-07-04 07:12:54 -07:00
Ömer Faruk Özdemir
e5fd0edce1
fix tunneling test ( #1694 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-04 17:04:44 +03:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info ( #1669 )
...
* Use requirements.txt
* Fix checksum in circleci
* Ignore egg info dir
* Install from requirements.txt
* Install gradio
* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
pngwn
609de11ce8
add markdown and html support to dataframe ( #1684 )
...
* add markdown and html support to dataframe
* fix bug, address review comments
* fix test
* fix test
* rename parser instance variable
2022-07-04 10:27:48 +01:00
Abubakar Abid
00a1894bf5
fixed load from spaces + added test ( #1636 )
...
* fixed load from spaces + added test
* formatting
* removed print
2022-07-01 20:21:54 -07:00
pngwn
a2b84199d8
detect all types of null default value ( #1685 )
...
* detect all types of null default value
* fix test
* address review comments
2022-07-01 19:23:02 +01: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
7030a2a6cf
Fix example image thumbnail size ( #1627 )
...
* fix example image thumbnail size
* format
* remove cache examples
* add classes to token.css
* add small image
2022-07-01 01:27:35 -04:00
Freddy Boulton
6bd4e17e69
Version 3.0.22 ( #1677 )
2022-06-30 15:02:00 -04:00
pngwn
2c6d62f96c
fix embedding css ( #1671 )
2022-06-30 15:59:30 +01:00
Freddy Boulton
d01da6e205
Fix postprocess in Audio ( #1667 )
2022-06-30 09:46:50 -04:00
Freddy Boulton
8c9a9a9696
Fix interpretations ( #1655 )
...
* add postprocess method on component
* Add test
* Change input in external.
* Revert accidental change
2022-06-29 18:24:27 -04:00
aliabid94
4deab89404
Undo use of orjson for Variable default value ( #1668 )
...
* Revert "Fixes json serialization issues (#1606 )"
This reverts commit 44ddafb68a
.
* deepcopy var default
* version upgrade
* still change
* remove get config from variable
2022-06-29 11:39:26 -07:00
pngwn
8cfee0b86a
fix overflow ( #1661 )
2022-06-29 15:19:57 +01:00
Halil Ibrahim Bestil
3026b8f597
Add type hint to provide autocompletion for Request class instances. ( #1642 )
2022-06-26 17:10:02 +03:00
Abubakar Abid
0f44cf8012
Read version.txt ( #1631 )
...
* read version from version.txt
* reordered lines
2022-06-24 21:24:57 -07:00
pngwn
1e6ceb9543
Mask image ( #1621 )
...
* changes
* add masking to image
* added preprocessing for mask
* tweaks + improvements to masking
* make mask work with webcam input
* cleanup
* fix default image
* fix default value when source is upload
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-25 01:11:28 +01:00
Dawood Khan
b11ed64a06
text color + custom style fixes ( #1626 )
2022-06-23 20:55:16 -07:00
Halil Ibrahim Bestil
51c8c34486
Async Request Class ( #1595 )
...
* Implement Request class and its tests.
* Add new requirements
* Reformat codebase.
* Fix formatting.
* Add library level requirements.
* Convert validated_data property to get_validated_data function.
* Fix the client fixture.
* Update test/test_utils.py
* Update test/test_utils.py
* Fix the client fixture.
* Add missing initialization for Request._validated_data
* Fix async test problem with test_tunneling.py
* Update gradio/utils.py
* Update gradio/utils.py
* Fix formatting.
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-23 20:44:04 +03:00
Abubakar Abid
7a0f6b1dd2
Deprecation error if multiple functions are passed into fn
parameter in Interface
( #1623 )
...
* stack deprection
* formatting
* rewrite parallel
* formatting'
2022-06-22 23:48:42 -07:00
Abubakar Abid
4628ef0a8b
version ( #1619 )
2022-06-22 00:39:31 -05:00
Ian González
1334847a22
Restore get_config function for Gallery component ( #1614 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-22 00:26:51 -05:00
pngwn
f1a1e79be4
fix autoscroll ( #1570 )
...
* fix autoscroll
* fix formatting
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-21 10:44:30 +01:00
Ian González
64a1bdc3b0
Fix text color for bold and code on dark theme ( #1615 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-21 10:37:20 +01:00
Abubakar Abid
44ddafb68a
Fixes json serialization issues ( #1606 )
...
* fixed serialization
* formatting
* Update gradio/components.py
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Update gradio/components.py
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-06-20 13:17:55 -05:00
Abubakar Abid
827f46cb93
added docs for elem_id
and other missing parameters in components.py
( #1602 )
...
* added docs for elem_id and other missing parameters
* formatting
2022-06-20 13:17:43 -05:00
Dawood Khan
98121ee6a3
Issue #1594 : Plot component is not cached with examples ( #1600 )
...
* fix plot cache examples
* format
2022-06-20 13:13:35 -05:00
Abubakar Abid
41f175a9fd
button fix ( #1603 )
2022-06-20 13:11:21 -05:00
Abubakar Abid
13e81c334e
Misc fixes ( #1607 )
...
* misc fixes
* formatting
2022-06-20 13:09:33 -05:00
Abubakar Abid
34464401c1
[Guide] Embedding Gradio Space on another website ( #1468 )
...
* created new file
* guide
* added guide
* added width
* Apply suggestions from code review
2022-06-17 22:06:23 -07:00
Abubakar Abid
5391d6fa97
fixed off by one error in messaging ( #1589 )
...
* fixed off by one error
* formatting
2022-06-17 20:56:16 -07:00
pngwn
90eaf20aab
ensure iframe can detect dom changes within shadow root ( #1599 )
...
* ensure iframe can detect dom changes within shadow root
* formatting
* correctly reference document body
* switch to unscoping when inside an iframe
* formatting
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-17 20:36:50 -07:00