aliabid94
c22f84343b
Event listener cleanup ( #3420 )
...
* changes
* changes
* trim out then
* chagnes
* CHANGES
* changes
* changes
* changes
* restore ui
* changes
* changes
* changes
* changes
* changes
* changes
* Update gradio/documentation.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changres
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-09 12:58:41 -08:00
Ali Abdalla
19f9f06d54
Document Blocks methods ( #3427 )
...
* document launch, queue and integrate in blocks
* seperate example usages for interface vs blocks methods
* changelog
* fix lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-09 12:10:17 -08:00
Ikko Eltociear Ashimine
92e576f8eb
Fix link ( #3417 )
...
* Fix link
* changelog
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-09 08:29:50 -08:00
Freddy Boulton
909b94f452
Fix BlockContext import bug in utils.py ( #3424 )
...
* Fix import bug
* CHANGELOG
2023-03-09 10:59:10 -05:00
Dawood Khan
12fb005ac8
Analytics Refactor ( #3342 )
...
* hub telemetry
* more analytics
* format
* changelog
* Gradio Status Page (#3331 )
* add status page to error message
* changelog
* link to status page on website
* move link to the right
* merge
* merge
* Add option to display gallery in preview mode (#3345 )
* Add code + api
* CHANGELOG
* 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>
* Some improvements to Flag (#3289 )
* Fixes to button disable
* button
* formatting
* flagging fix
* fixes
* formatter
* changelog
* ormatting
* tests
* saving
* adding optionality for flagging
* updatest
* error catching
* updates
* changelog
* tests
* typing
* flag button
* formatting
* tests
* tests
* tests
* increased latency
* queue fix
* clear
* formatting
* fix
* fix tests
* Fix flaky external test (#3348 )
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Remove from changelog
* Use bunny file
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* updates
* format
* more updates
* threading
* fixes
* Fix error when using backen_fn and custom js at the same time (#3358 )
* Fix error when using backen_fn and custom js at the same time
* generate notebooks
* update changelog
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Fix File updating (#3375 )
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
* Updated chat ui (#3370 )
* test
* changes
* chagnes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
* changes
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fixes
* New Version Docs (#3376 )
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* requirements
* test requirements
* Release 3.20.1 (#3390 )
* release 3.20.1
* changelog
* merge
* New Version Docs (#3392 )
* [create-pull-request] automated change
* trigger ci
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* Remove everything related to encryption (#3396 )
* remove requirements
* deprecate encrypt
* remove flagging
* deprecate
* formatting
* lint
* Adds a Chinese translation for the `README` (#3394 )
* add chinese readme
* add chinese readme
* update changelog
* fix render_readme and english readme
* generate readme
* remove template and quickstart files
* link to chinese from english
* fix assets paths
* link to english from chinese
* change file location
* fix link
* fix link
* fix link
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* fix bad codeblock (#3401 )
* Always set queue=False if every is None for load events (#3391 )
* Always set queue=False if every is None
* CHANGELOG + linting
* Move to latest release section
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* JS client take 2 (#3388 )
* start
* change api
* integrate into gradio
* log
* try this
* format
* changes
* format
* fix css
* fix file
* fix #3282 avoid in-place dict updates (#3405 )
* fix #3282 avoid in-place dict updates
* add tests and changelog for PR3405
* Fix markdown embedded component in docs (#3410 )
* revert to old md component demo
* changelog
* Added a section on security (#3408 )
* security
* added section on security
* security
* changes from review
* Fix local tests (#3411 )
* document embed params
* fix tests
* cleanup
* cleanup
* cleanup
* revert
* changelog
* Document web component parameters (#3407 )
* document embed params
* changelog
* iframe
* fixed review changes
* requirements
* fixes
* format
* format
* requirements
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Jialei <3217223+jialeicui@users.noreply.github.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Uanu <92366232+uanu2002@users.noreply.github.com>
Co-authored-by: gitgithan <hanqi11991@hotmail.com>
2023-03-08 21:28:15 -05:00
Ali Abdalla
f86b6445f8
Fix css issue with spaces logo ( #3422 )
...
* override css
* changelog
2023-03-08 15:37:56 -08:00
Abubakar Abid
0036b2e0b0
Preserve uploaded file names ( #3412 )
...
* document embed params
* fix tests
* cleanup
* cleanup
* cleanup
* revert
* changelog
* changes
* merge
* fix paths
* uploaded files
* persist file names
* changelog
* formatting
* remove orig_name
* remove orig_name
* rm method
* pathlib
* remove test
* fix tests
* lint
* fix model3d issue
* remove zip
* fix tests
* fix tests
* formatting
* fix test
* fix test
2023-03-08 12:24:09 -08:00
Ali Abdalla
40b5ab8c29
Remove codecov from the repo ( #3415 )
2023-03-07 18:04:58 -08:00
Abubakar Abid
952da337a6
Document web component parameters ( #3407 )
...
* document embed params
* changelog
* iframe
* fixed review changes
2023-03-07 14:37:06 -08:00
Abubakar Abid
da9a9cfd35
Fix local tests ( #3411 )
...
* document embed params
* fix tests
* cleanup
* cleanup
* cleanup
* revert
* changelog
2023-03-07 14:30:04 -08:00
Abubakar Abid
2fd9b55b87
Added a section on security ( #3408 )
...
* security
* added section on security
* security
* changes from review
2023-03-07 14:21:23 -08:00
Ali Abdalla
a5e3be71ba
Fix markdown embedded component in docs ( #3410 )
...
* revert to old md component demo
* changelog
2023-03-07 14:15:03 -08:00
gitgithan
ee1a76fd10
fix #3282 avoid in-place dict updates ( #3405 )
...
* fix #3282 avoid in-place dict updates
* add tests and changelog for PR3405
2023-03-07 10:12:19 -08:00
pngwn
fddf376784
JS client take 2 ( #3388 )
...
* start
* change api
* integrate into gradio
* log
* try this
* format
* changes
* format
* fix css
* fix file
2023-03-07 16:36:25 +00:00
Freddy Boulton
47d6231680
Always set queue=False if every is None for load events ( #3391 )
...
* Always set queue=False if every is None
* CHANGELOG + linting
* Move to latest release section
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 18:27:04 -07:00
Ali Abdalla
d906dedf97
fix bad codeblock ( #3401 )
2023-03-06 15:46:16 -08:00
Uanu
e28f3b25b1
Adds a Chinese translation for the README
( #3394 )
...
* add chinese readme
* add chinese readme
* update changelog
* fix render_readme and english readme
* generate readme
* remove template and quickstart files
* link to chinese from english
* fix assets paths
* link to english from chinese
* change file location
* fix link
* fix link
* fix link
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-06 15:22:48 -08:00
Abubakar Abid
22c9254a12
Remove everything related to encryption ( #3396 )
...
* remove requirements
* deprecate encrypt
* remove flagging
* deprecate
* formatting
* lint
2023-03-06 15:06:23 -08:00
aliabid94
608d3b6250
Python backend to theming ( #2931 )
...
* 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
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* undo radius
* undo radius
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* undo
* Add absolute imports
* mock theme in tests
* clean
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:52:31 -08:00
github-actions[bot]
0e0d1c181d
New Version Docs ( #3392 )
...
* [create-pull-request] automated change
* trigger ci
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:07:39 -08:00
or25
75a1adee93
fixing issue #3178 ( #3227 )
...
* Update interface.py
if the first param is self, trim the param list
* Update CHANGELOG.md
* update and add test
* update and add test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-06 11:27:47 -08:00
Abubakar Abid
9fb3c2236d
Release 3.20.1 ( #3390 )
...
* release 3.20.1
* changelog
2023-03-06 11:05:28 -08:00
Dawood Khan
a2076441e2
Chatbot height kwarg ( #3369 )
...
* height
* height
* changelog
* fixes
* merge
* Fix File updating (#3375 )
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
* fixes
* Release 3.20.0 (#3374 )
* release-3.20.0
* update changelog
* New Version Docs (#3376 )
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* notebook
* changelog
* changelog
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-06 10:12:39 -08:00
pngwn
fc39cbdd9b
ensure image is always drawn ( #3386 )
...
* ensure image is always drawn
* fix demo
* notebooks
* clean
2023-03-06 16:04:42 +00:00
github-actions[bot]
fba1bae3a5
New Version Docs ( #3376 )
...
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-03 18:43:05 -08:00
Abubakar Abid
dea75bdc27
Release 3.20.0 ( #3374 )
...
* release-3.20.0
* update changelog
2023-03-03 18:22:34 -08:00
aliabid94
02fb8f5a1f
Updated chat ui ( #3370 )
...
* test
* changes
* chagnes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
* changes
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-03 18:17:48 -08:00
Freddy Boulton
99945c951b
Fix File updating ( #3375 )
...
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
2023-03-03 15:14:56 -05:00
Jialei
be4ca360ca
Fix error when using backen_fn and custom js at the same time ( #3358 )
...
* Fix error when using backen_fn and custom js at the same time
* generate notebooks
* update changelog
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-03 14:37:05 -05:00
pngwn
6c9c41b15d
support domains ( #3367 )
...
* support domains
* changelog
* format
* handle invalid source/host/space
* format
* version
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-03 16:52:38 +00:00
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
Abubakar Abid
b80fb2729a
Supabase Guide ( #3275 )
...
* supabase guide
* changelog
* changes
* guide
* schema'
* finish
* added images
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* changes
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* changes
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update guides/05_tabular-data-science-and-plots/creating-a-dashboard-from-supabase-data.md
Co-authored-by: pngwn <hello@pngwn.io>
* add demo
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-03-01 13:20:24 -08:00
Abubakar Abid
cd99857e0f
Google Analytics fix ( #3349 )
...
* ga analytics fix
* changelog
* revert
* tests
* revert
* revert
2023-03-01 11:26:26 -08:00
Freddy Boulton
6242b2700e
Fix flaky external test ( #3348 )
...
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Remove from changelog
* Use bunny file
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-28 14:24:07 -05:00
Abubakar Abid
04ddce05b3
Some improvements to Flag ( #3289 )
...
* Fixes to button disable
* button
* formatting
* flagging fix
* fixes
* formatter
* changelog
* ormatting
* tests
* saving
* adding optionality for flagging
* updatest
* error catching
* updates
* changelog
* tests
* typing
* flag button
* formatting
* tests
* tests
* tests
* increased latency
* queue fix
* clear
* formatting
* fix
* fix tests
2023-02-28 10:29:34 -08: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
Ali Abdalla
9682bc82db
Gradio Status Page ( #3331 )
...
* add status page to error message
* changelog
* link to status page on website
* move link to the right
2023-02-27 20:47:04 -08:00
Freddy Boulton
fc5e9a2156
Dont cancel non-flaky tests if flaky tests fail ( #3344 )
...
* Dont cancel other runs if flaky runs fail
* Fix quote
* CHANGELOG
* Revert deliberate test failure
2023-02-27 17:59:36 -05: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
Ali Abdalla
be4986de8a
Fix change event listed twice in image docs ( #3318 )
...
* fix document listing change twice
* Changelog
2023-02-24 13:00:52 -08:00
Abubakar Abid
f5e7b57ceb
Access username from gr.Request
class ( #3296 )
...
* updates to the gr.Request class
* auth
* adds username
* revert utils
* changelog
2023-02-24 11:40:34 -05: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