Freddy Boulton
d8023d455f
Add event that's triggered when slider is released ( #3353 )
...
* Add code
* Add unit test
* CHANGELOG + notebook format
* Clean up
* Remove comment
2023-03-02 21:29:49 -05:00
pngwn
5c01a029ce
resize image when shape is passed ( #3351 )
...
* resize image when shape is passed
* changelog
* cleanup
* handle square images + refactor
* leftover
2023-03-01 23:47:15 +00:00
pngwn
ce0bbdab89
dropdown ( #3338 )
...
* fix
* fixes
* format
* changelog
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix clear case
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-28 18:18:33 +00:00
Freddy Boulton
9fbe7a06fb
Add option to display gallery in preview mode ( #3345 )
...
* Add code + api
* CHANGELOG
2023-02-28 12:41:24 -05:00
Freddy Boulton
ba6e4accb6
Apply height in Gallery.style ( #3343 )
...
* Apply height
* Remove log
* Add CHANGELOG
* Remove unused let
* Add missing type hint
2023-02-28 12:13:49 -05:00
pngwn
d39c62a7f4
fix markdown css ( #3341 )
...
* fix markdown css
* changelog
* cleanup
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-28 10:26:00 +00:00
pngwn
126694b70d
fix flex layout ( #3336 )
...
* fix flex layout
* changelog
2023-02-27 17:55:53 +00:00
Freddy Boulton
53e4733f2a
Add types field to dependency config ( #3315 )
...
* Add to config
* CHANGELOG
* Safe pop
* Fix test
2023-02-24 20:07:31 -05:00
Ali Abdalla
e54042b43b
API Docs Fixes ( #3287 )
...
* fix audio api docs
* fix type and desc for every component
* fix indentation
* fix chatbot example
* fix checkbox example
* fix types in run and code snippets
* fix dataframe dataset file video
* some syntax highlighting
* changelog
* formatting
* type fixes
* clarify wording for audio, video, file
* better indentation
* show actual url in description
* add copy buttons
* formatting and types
2023-02-24 13:13:13 -08:00
Dawood Khan
f36211050c
Dropdown Component Updates ( #3211 )
...
* dropdown
* more dropdown updates
* dropdown styling + option visibility
* changelog
* notebook
* fix test
* Allow more image formats (#3225 )
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
* fix webcam mirroring (#3245 )
* fix webcam
* changelog
* fix changelog
* fix changelog
* fix changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add `interactive=False` mode to `gr.Button` (#3266 )
* add interactive=False to button
* add interactive=True by default
* changelog
* fix frontend
* fix backend test
* formatting
* review changes
* LaTeX height fix (#3258 )
* latex height fix
* changelog
* formatting
* em
* em
* accidentally added script (#3273 )
* Adding a script to benchmark the queue (#3272 )
* added benchmark queue script
* changelg
* fix instructions
* Fix matplotlib image size (#3274 )
* Fix matplotlib css
* CHANGELOG
* Undo lockfile
* Add timeouts to queue messages (#3196 )
* Fix + test
* Remove print statements + fix import for 3.7
* CHANGELOG
* Remove more print statements
* Add 60 second timeout for uploading data
* Fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* icons
* separate options into component
* formatting
* changelog
* changelog
* fix ui tests
* formatting again...
* backend test fix
* format
* doc fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: fienestar <fienestar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-02-23 16:32:18 -05:00
Freddy Boulton
ed33e8f1a8
Add download button for output images ( #3297 )
...
* Add download button
* CHANGELOG
* Add gif to changelog
* newline
2023-02-23 15:56:37 -05:00
pngwn
4e772fda24
new logo, remove initial_height after loading ( #3292 )
...
* new logo, remove initial_height after loading
* tweak
* changelog
* cleanup
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-23 20:07:27 +00:00
Freddy Boulton
7b2f9cf2ea
3290 fix dropdown infinite loop ( #3295 )
...
* Fix infinite loop
* lint
* CHANGELOG
2023-02-23 10:55:43 -05:00
pngwn
372a3cca2f
3248 image ( #3277 )
2023-02-23 08:46:44 +00: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
Abubakar Abid
c4f23bf4b3
LaTeX fix attempt #2 ( #3276 )
...
* latex fix 2
* fix latex height
* latex
* fix test
* avoid hardcoding
2023-02-22 16:34:38 -06:00
Abubakar Abid
06c4cd705f
Some fixes to disabled buttons ( #3288 )
...
* Fixes to button disable
* button
* formatting
* fixes
* formatter
2023-02-22 13:23:38 -06:00
Freddy Boulton
fa094a03e2
Fix matplotlib image size ( #3274 )
...
* Fix matplotlib css
* CHANGELOG
* Undo lockfile
2023-02-21 16:34:51 -05:00
Abubakar Abid
e513f06e5e
LaTeX height fix ( #3258 )
...
* latex height fix
* changelog
* formatting
* em
* em
2023-02-21 14:12:03 -06:00
Abubakar Abid
55162e5f94
Add interactive=False
mode to gr.Button
( #3266 )
...
* add interactive=False to button
* add interactive=True by default
* changelog
* fix frontend
* fix backend test
* formatting
* review changes
2023-02-21 13:11:46 -06:00
pngwn
847610ccc0
fix webcam mirroring ( #3245 )
...
* fix webcam
* changelog
* fix changelog
* fix changelog
* fix changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-21 13:43:57 +00:00
fienestar
e536227615
Allow more image formats ( #3225 )
...
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-21 11:50:44 +00:00
aliabid94
e6d6ea1452
Fix Gradio 3.19 UI breaks ( #3242 )
...
* changes
* changes
* changes
2023-02-19 16:14:44 -08:00
pngwn
4fd2ae081c
3229 styling ( #3233 )
...
* ensure latex css is applied
* remove z-index on error status
* changelog
* formatting
* more styling fixes + adjust error message for non space
* simplify test
* simplify test
* update notebook
* pinning mdit-py-plugins
* missed a thing
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-19 15:16:08 +00: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
Freddy Boulton
9b2119f297
Fix auth when connecting via HTTP ( #3223 )
...
* Fix + test
* Remove print statements + fix import for 3.7
* CHANGELOG
* Remove more print statements
* Add 60 second timeout for uploading data
* Fix test
* Add unsecure token
* Undo diff
* Add CHANGELOG
* Fix on main
* remove __gradio_loader__
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 18:01:42 -05:00
Freddy Boulton
3530a86433
Fix bokeh Plots ( #3212 )
...
* Add implementation
* Simpler approach
* Fix extra updates
* Fix python tests
* CHANGELOG + add bokeh plot demo
* Center content
* Fix value=bokeh case
* Add image to changelog
* Add notebook file
* Undo accidental changes
* Add missing plot type
* Fix type hints
* Fix requirements
* Lint
* Fix requirements
* remove lorenz
* Fix notebooks
* Remove bokeh demo
* Fix plot
* Don't use beforeUpdate
* FIx demo: Add load_event + bump bokeh>3.0
* Only load bokeh if needed
* Fix tests
* lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 16:47:06 -05:00
pngwn
1e99873fa5
1957 embed pretty ( #3205 )
...
* changes
* changes
* fix all things
* fix root
* fix ids
* tweaks
* twaks
* handle whitespace
* tweaks and fix checks
* revert demo change
* formatting
* formatting
* regen notebooks
* add eager attribute
* tweaks + formatting
* changelog
* fix
* fix
* fix css stuff
* tweak timeout when pollig
* format
* tweak
* format
2023-02-17 18:51:00 +00:00
Dawood Khan
9c08bb92c5
Add ability add a single message from the bot/user side ( #3165 )
...
* chatbot fices
* chagnelog
* remove starts_with
* more fixes
* added chatbot multimodal demo
* fix height
* height
* update demo
* changelog
* format
* format
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 13:02:41 -05:00
aliabid94
74f75f004a
Fix Table entry for Pinyin ( #3206 )
...
* changes
* changes
2023-02-15 13:13:55 -08:00
Freddy Boulton
4307d7e809
Dispatch change event for "Clear All" with multiselect ( #3195 )
...
* Dispatch change
* CHANGELOG
* Fix changelog
2023-02-14 14:50:27 -05:00
Freddy Boulton
3d9226a8e6
Fix loading files from embedded spaces ( #3177 )
...
* Use root
* CHANGELOG
2023-02-14 13:31:43 -05:00
Freddy Boulton
c06b4eab16
Bar Plot Component ( #3157 )
...
* Add code - first draft
* Getting better
* Work out the bugs
* Fix docstrings
* CHANGELOG
* Fix test
* Generate notebooks
* Add unit test
* Undo website package.lock
* Fix demo
* Fix notebooks
* Fix docstrings
* Improve example in CHANGELOG
* Address comments + feedback
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-09 16:42:25 -05:00
Freddy Boulton
71f6117f6f
Fix darkmode toggle on native plots ( #3146 )
...
* Fix darkmode
* CHANGELOG
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-07 15:55:31 -05:00
Dawood Khan
921ff1c47a
A few dropdown fixes ( #3145 )
...
* dropdown fixes
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-07 12:48:31 -08:00
Freddy Boulton
1306ab3865
Fix examples pagination ( #3144 )
...
* Fix font color and layout
* CHANGELOG
2023-02-07 15:30:30 -05:00
Dawood Khan
3d3ec119e8
Fixes interactive output image cannot be set when in edit mode ( #3135 )
...
* cropper fix
* Update CHANGELOG.md
2023-02-07 12:49:50 -05:00
Abubakar Abid
f37d17089d
Fixes components when loading private spaces ( #3068 )
...
* file routes
* adding access token
* add reverse proxy
* adding access token
* context
* rewrite
* frontend
* formatting
* changelog
* formatting
* fix tests
* fixed image issue
* fix frontend
* os removal
* Update test_external.py
* fixes to normalise
* version
* fixes so that functions work
* lint
* formatting
2023-02-07 07:55:51 -08:00
pngwn
a23bc03aeb
ensure video resets state correctly when a new src is loaded ( #3117 )
...
* improve is playing, remove console error
* add video demo to all_demos
* fix demo
* fix bug
* changelog + notebooks
* cleanup
* fix choppy video resizing
* reduce flashing due to prediction request, video loading + rendering
* fix notebooks
* changelog
2023-02-03 17:36:31 +00:00
Dawood Khan
63d5efcfc4
Chatbot Guide Update ( #3023 )
...
* chatbot guide
* guide update
* changelog
* demo updates
* demo fix
* notebook fix
* format
* guide fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-03 12:13:15 -05:00
Greysuki
cd7370d9eb
Final? ( #3098 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-02 12:16:38 +00:00
aliabid94
f434058dd4
Fix gallery grid ( #3107 )
...
* changes
* changes
* changes
* generate notebook
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-02 03:47:03 -08:00
Freddy Boulton
792289cdf7
Fix example gallery mode ( #3090 )
...
* Fix example gallery mode
* CHANGELOG
2023-02-01 12:09:39 -05:00
aliabid94
26056e5d72
Fix change event listener ( #3095 )
...
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-01 15:51:38 +00:00
pngwn
70a705c817
only mount fonts in prod mode ( #3100 )
...
* only mount fonts in prod mode
* cleanup
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-02-01 01:09:39 +00:00
aliabid94
5264b4c6ff
Chatbot loader ( #3079 )
...
* changes
* chagnes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-30 17:09:14 -08:00
Dawood Khan
6c8ed19ef6
Fix Sketch clearing bug ( #3047 )
...
* bug fix
* changelog
* undo fix
2023-01-30 11:24:11 -05:00
Freddy Boulton
9ccfef0542
Fix auth on spaces ( #3049 )
...
* Add route alias
* on button click
* Fix config
* Do not redirect
* Use login to check if other route necessary
* Add message about HF spaces
* CHANGELOG
* Add gif to changelog
2023-01-30 11:11:32 -05:00
pngwn
9599772fd6
fix css scoping ( #3059 )
2023-01-28 09:47:14 +00:00
pngwn
669ee42c8f
fix space embeds using src
attribute ( #3065 )
...
* change ports in dev mode
* changelog
* correctly detect space embeds
* changelog
* formatting
2023-01-27 14:39:36 +00:00