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
Greysuki
243b400b53
fix-tabs ( #3055 )
...
* fix-tabs
* Reformat changelog
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-27 06:35:19 -05:00
Freddy Boulton
4e3626bbeb
Preserve Gallery selected image through updates ( #3061 )
...
* Fix bug
* CHANGELOG
2023-01-27 05:42:35 -05:00
Freddy Boulton
7fc3e750b0
Hide upload component ( #3053 )
...
* Hide upload component
* CHANGELOG
* Rename class
2023-01-25 16:35:44 -05:00
pngwn
2667eb65b1
fix form focus styles ( #3042 )
...
* fix form focus styles
* changelog
2023-01-24 19:51:51 +00:00
Freddy Boulton
acbc695ce1
Trigger events on programmatic change for Dropdown and Checkbox ( #3045 )
...
* Trigger events on change
* CHANGELOG
* Remove logging
2023-01-23 19:41:33 +01:00
Dawood Khan
35d4243854
Add download button to model3d output ( #3014 )
...
* download button
* update model3d demo
* changelog
* Update CHANGELOG.md
* Update CHANGELOG.md
* add download button to filepreview
* remove icon from file comp
* notebook
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-23 10:14:29 -05:00
aliabid94
5bd42feb8c
Frontend fixes ( #3026 )
...
* fixes
* changes
* change
* changes
2023-01-20 13:24:24 -08:00
pngwn
d6fbc32ed1
Theme base 2 ( #2840 )
...
* 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
* fix generating status animation
* fix weird table scrollbar that only appears on freddy's computer
* format
* fix dataset in gallery mode
* cleanup
* fix notebooks
* tweaks
* fix notebooks
* change
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-01-17 12:47:40 -08:00
Abubakar Abid
43f0bedf52
replace x-png with png ( #3002 )
...
* replace x-png with png
* changelog
2023-01-17 09:59:51 -08:00
Freddy Boulton
3f2074855d
Fix bug downloading files with long names ( #2929 )
...
* Fix bug
* Add changelog
* move to current release section
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 18:58:14 -08:00
Abubakar Abid
6a3c8d3fdf
Bring back change event for Dropdown ( #2954 )
...
* bring back change
* changelog
* changelog
* changelog
2023-01-08 13:09:40 +01:00
Dawood Khan
9fff1e0fe8
Enable multi-select on gradio.Dropdown ( #2871 )
...
* multiselect dropdown
* fixes
* more fixes
* changes
* changelog
* formatting
* format notebooks
* type fixes
* notebok fix
* remove console log
* notebook fix
* type fix
* Revert "format notebooks"
This reverts commit fb8762ecff
.
* notebook fix
* bug fixes
* Update CHANGELOG.md
* Excluding untracked files from demo notebook check action (#2897 )
* excluding untracked files from wget
* changelog
* fix setting default values
* typeability and arrow key support
* python types
* reformat
* another type check
* minor fixes + interactive false fix
* change remove token styling
* separate multiselect into separate file
* style fixes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* some more style fixes
* small bug fix
* addressed pr comments
* fix active color highlighting
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-04 19:13:46 -05:00
Dawood Khan
ad42e80dca
Upload filetypes of specified extensions ( #2901 )
...
* file extensions
* Update CHANGELOG.md
* update notebook
* formatting
* notebook fix
* fixes
2023-01-04 12:34:46 -05:00
aliabid94
58b1a074ba
Add Progress Bar component ( #2750 )
...
* changes
* version
* changes
* fixes
* changes
* changes
* changes
* changes
* chagnes
* chagnes
* fix
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* version update
* Commit from GitHub Actions (Upload Python Package)
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* changes
* changes
* changes
* changes
* change
* changes
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/routes.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* change
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: GH ACTIONS <aliabid94@users.noreply.github.com>
2022-12-30 11:45:54 -08:00
Freddy Boulton
6b77ea07d3
Fix bug displaying dataframe examples in csv/tsv files ( #2877 )
...
* Use loaded value for dataframe preview
* Add to CHANGELOG
* Changelog
2022-12-27 10:48:32 -05:00
Jean Ribeiro
24f413c4b3
enhancement: record audio and video from webcam simultaneously ( #2721 )
...
* Recording Audio and Video from webcam simultaneously
* Add include_audio option in Video component
* Update gradio/components.py
Co-authored-by: pngwn <hello@pngwn.io>
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
* updated include_audio default behavior
Co-authored-by: Mandar Gogate <9411881+MandarGogate@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-26 13:56:17 -05:00
Freddy Boulton
96297c0bad
LinePlot ( #2807 )
...
* First draft
* Fix tests
* Fix pdb
* Figure out stroke dash + legend position
* Add legend position
* Add back gif
* Add demo + update demo
* Format notebooks
* Changelog
* More changelog
* Undo notebooks
* Reword
* Set lower bound for altair
* Modify docstrings
* Add LinePlot image to changelog
2022-12-20 11:13:51 -05:00
Emily Uhde
ade918d0a2
2777 Add restProps to IconButton … ( #2791 )
...
* 2777 Add restProps to IconButton and use it to pass aria-labels down to the button element where it's used in other UI components
* 2777 Update per PR feedback, explicitly pass in label prop instead of using restProps
* 2777 Fix mysterious linter error
* Update changelog to fix PR number 2791
* Fix merge conflict
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-14 22:13:30 +00:00
Abubakar Abid
c126e62970
Add support for numpy array and other types to gr.Dataframe()
initial value ( #2804 )
...
* bigquery draft
* updated guide
* orjson fix
* formatting
* changelog
* rm guide
2022-12-13 17:01:27 -06:00
Freddy Boulton
f60053d85f
gr.ScatterPlot component ( #2764 )
...
* Try clean install
* Resolve peer dependencies?
* CHANGELOG
* Add outbreak_forcast notebook
* generate again
* CHANGELOG
* Add image to changelog
* Color palette
* Fix colors + legend
* Tooltip
* Add axis titles
* Clean up code a bit + quant scales
* Add code
* Add size, shape + rename legend title
* Fix demo
* Add update + demo
* Handle darkmode better
* Try new font
* Use sans-serif
* Add caption
* Changelog + tests
* More tests
* Address comments
* Make caption fontsize smaller and enable interactivity
* Add docstrings + add height + width
* Use normal font weight
* Make last values keyword only
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix typo
* Accept value as fn
* reword changelog a bit
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-09 10:14:07 -05:00