Freddy Boulton
8e24d5d646
Deploy All Demos to Spaces on PRs ( #2012 )
...
* Add step to deploy to spaces on release
* Import package not modules
* Lint
* Hacky solution
* Add app file
* Github actions script
* Fix bucket url
* Update versioning
* Fic typo in script
* Change path
* Fix quote
* Clean up action
* Fix keys
* Formatting + comment
* Fix all_demo creation
* lint ui
* Get latest pypi version and use only 20 demos
* Test version change works correctly
* Fix gradio version
* Fix typo
* Use github sha to rebuild on every commit
* Get sha the proper way
* Change where env is accessed
* Fix typo in cp
* Undo changes to version.txt
* Add matrix transpose
2022-08-16 12:07:20 -04:00
Dawood Khan
0c2e5c8184
Fixes: Model3D component loads forever when used as input and cache_examples=False ( #1939 )
...
* fix loading issue
* format
2022-08-03 17:03:01 -04:00
pngwn
a039810e51
fix pnpm filters for 7.x ( #1927 )
...
* fix pnpm filters for 7.x
* update ci to use pnpm 7
* try a thing
* reinstall types
* usin pnpm dlx instead of pnpx
* usin pnpm dlx instead of pnpx
* explicitly add playwright as dependency
* update lockfile
* update ci
* update ci
* install same version of @playwright/test and playwright
* fix browser downloads
2022-08-02 12:02:06 -07:00
Dawood Khan
653b54d3c0
fix file download name ( #1921 )
2022-08-02 18:55:41 +01:00
aliabid94
d7db15fb07
Fix broken frontend when iframed ( #1933 )
...
* Updated version to 3.1.3a4
* Updated version to 3.1.3a5
* version change
* fix styl
2022-08-02 09:36:50 -07:00
aliabid94
16826ee9cc
Fix broken API page ( #1919 )
...
* chagnes
* frontend_fix
* changes
* changes
* changes
* changes
* changes
* fixed typing
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-01 18:15:55 -07:00
aliabid94
95cb8a78b4
Fix dark mode with apps smaller than window size ( #1926 )
...
* changes
* changes
2022-08-01 18:15:41 -07:00
Dawood Khan
bccf7c4006
fixes tab plot issue ( #1925 )
2022-08-02 00:39:58 +01:00
pngwn
5d03174e44
Always return headers from postprocess ( #1893 )
...
* always return data/headers from dataframe postprocess
* add demo back
* handle case of no new headers but different length list
* fix tests
* change
* change
* added unit tests
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-01 15:57:31 -07:00
Ali Abid
0e4931fbe2
changes
2022-07-26 15:11:08 -04:00
pngwn
f4552a2264
ensure falsey values are set to null for images ( #1891 )
...
* ensure falsey values are set to null for images
* cleanup
2022-07-26 14:26:00 -04:00
Dawood Khan
cd0d520696
Plot Component Integration Test ( #1859 )
...
* plot integration tests
* format
* remove files
2022-07-25 12:48:59 -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
Ali Abid
0920710779
change
2022-07-22 12:49:21 +01:00
pngwn
817819d7a1
Fix the types ( #1843 )
...
* fix types
* fail CI when typechecking fails
* maybe fix
* more fix
* remove all rferences to theme
* fix login
2022-07-21 19:12:46 +01:00
aliabid94
597d22e7b0
changes ( #1828 )
2022-07-19 11:37:07 -07:00
Dawood Khan
dc8dd5e1be
File component: list multiple files and allow for download #1446 ( #1681 )
...
* fix multiple files
* display multiple files
* support display of multiple files
* fix multiple file output display
* format
* revert pnpm-lock.yaml
* fixes
2022-07-17 06:59:20 -04:00
Asheer Rizvi
d164c52b3c
fix: added transparent background for dark mode. ( #1780 )
2022-07-15 09:05:45 +01:00
pngwn
c323aac274
add example component for color picker ( #1779 )
2022-07-13 16:35:43 +01:00
pngwn
a18c7ddf04
allow data frame to change number of columns ( #1716 )
...
* allow data frame to change number of columns
* allow data frame to change number of columns
* fix types
* fix tests
* handle case when headers are not present
* fix tests
* fix tests finally
* reinstate demo
* address review comments
* tweak test for fix
2022-07-12 11:35:20 +01:00
Dawood Khan
8947e8f9a4
plotly animations ( #1732 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-11 15:40:15 -07: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
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
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
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
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
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
pngwn
2c6d62f96c
fix embedding css ( #1671 )
2022-06-30 15:59:30 +01:00
pngwn
8cfee0b86a
fix overflow ( #1661 )
2022-06-29 15:19:57 +01: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
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
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
aliabid94
6413b65328
fixes with HighlightedText, variables ( #1563 )
...
* changes
* removed comment things
* updated version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-16 17:32:14 -07:00
aliabid94
cb2aa4a625
Hidden fix [hotfix] ( #1585 )
...
* fix
* Update Button.svelte
2022-06-16 17:22:09 -07:00
pngwn
8710d3a079
Wrap dataframe ( #1571 )
...
* add suport for table cell wrapping
* revert pkginfo change
* revert pkginfo change
* fixed tests
* formatting
* type hint
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-16 17:02:01 -07:00
aliabid94
5e7cf62a47
Fix visible ( #1576 )
...
* changes
* format
* change
* Update Blocks.svelte
* Update Render.svelte
* Update tokens.css
2022-06-16 16:49:54 -07:00
aliabid94
4d74206748
changes ( #1577 )
2022-06-16 11:16:18 -07:00
Ian González
d0b521510d
Manage a null value update on Dataframe ( #1580 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-16 10:13:24 +01:00
Ian González
78af573990
Change the afterUpdate code in Plot to use a binding to get the div when using plotly ( #1565 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-15 10:40:00 -04:00
Ian González
26745a88dc
Stop audio tracks of user media on the stop callback for the Audio component when using the microphone ( #1562 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-14 17:07:27 +01:00
aliabid94
a3047ee838
broken HTML [hotfix] ( #1558 )
2022-06-13 17:20:35 -07:00
aliabid94
11b12d9456
Scrolling by default only in Interface, remove progress animation on streaming ( #1499 )
...
* changes
* changes
* format
* changes
* add relative to block
* changes
* ensure statustracker component is never rendered by render
Co-authored-by: pngwn <hello@pngwn.io>
2022-06-13 17:11:19 -07:00
aliabid94
caa6a4e687
rework visible, attach to all components ( #1511 )
...
* changes
* fix
2022-06-13 16:49:23 -07:00
Simon Duerr
fdbecafffb
Matplotlib max-h fix so that plots are not cut off ( #1550 )
...
`object-fit:contain` only works with `max-h` if they are set on the same element. I moved `max-h` to `img` and also increased the height a bit such that the plot has enough space and can adapt to the container height.
Fixes #1546
2022-06-13 16:32:17 -07:00
Abubakar Abid
cf027b68f4
Combines 2 PRs for testing ( #1540 )
...
* mount custom css to the web component (#1536 )
* set configurable min height prior to loading (#1532 )
* set configurable minheight prio to loading
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* release beta version for testing (#1541 )
Co-authored-by: pngwn <hello@pngwn.io>
2022-06-10 20:11:40 -07:00
aliabid94
00e4b1436f
Allow styling height for Image and Video, also dynamic logic change ( #1503 )
...
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-10 19:56:07 -07:00