Commit Graph

775 Commits

Author SHA1 Message Date
aliabid94
5089053052
Port reuse block fix (#2453)
* fix

* chagnes

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2022-10-13 21:15:17 -07:00
Ali Abdalla
67a5ba96b1
Fix embedded interfaces on touch screen devices (#2457)
* fix touch device issue

* Update CHANGELOG.md
2022-10-13 20:03:39 -07:00
Freddy Boulton
2fdd2396d8
Fix race condition in queue (#2374)
* Catch disconnect exception

* Misc queue changes

* Add tests

* CHANGELOG
2022-10-13 11:07:36 -04:00
Dawood Khan
1d18ddae66
Add blur event to textbox and number (#2448)
* add blur event to textbox and number

* changelog

* fixes

* fix blur for number

* reformat
2022-10-12 23:53:05 -04:00
Abubakar Abid
e935f105e1
Improvements to gr.Dataset (#2437)
* Adding example components

* formatting

* formatting
2022-10-12 15:48:53 -05:00
Abubakar Abid
3c1172404a
Update strings.py to reference new Spaces Hardware (#2423)
* Update strings.py

* Update CHANGELOG.md

* Update gradio/strings.py

Co-authored-by: Julien Chaumond <julien@huggingface.co>

* Update strings.py

* Update strings.py

* Update strings.py

* Update strings.py

* Update strings.py

* Update strings.py

Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-10-12 15:43:17 -05:00
Vova Zakharov
72c2ace2b8
bug fix (return ValueError → raise ValueError) (#2445)
* bug fix (return ValueError → raise ValueError)

* changelog

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-12 14:38:42 -05:00
Freddy Boulton
89fc21b17d
Install gradio from source in UI tests (#2440)
* Install gradio from source

* CHANGELOG

* Do not upgrade pip
2022-10-12 12:43:44 -04:00
Abubakar Abid
70eae89cef
Deprecates Carousel component (#2434)
* formatting

* carousel

* Update CHANGELOG.md
2022-10-12 11:37:58 -05:00
Dawood Khan
3a2de9b415
Map demo + Guide (#2402)
* map demo + guide

* fixes

* update dataset to load from hub

* remove csv file

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-11 23:51:48 -04:00
Ali Abdalla
ad2c0790b4
Automatically restart spaces if they're down (#2405)
* check and restart spaces that are down

* if no auth_token, don't break build

* add to changelog

* Update CHANGELOG.md
2022-10-10 18:42:59 -07:00
Abubakar Abid
1dd4d34933
Updates the documentation to better describe Blocks.load() (#2413)
* updated doc

* removed link change

* revert changes to inner html

* changelog

* tweaks

* formatting
2022-10-07 14:38:59 -07:00
Freddy Boulton
da93f4f004
Use async iteration for progressive outputs (#2409)
* Use async iteration

* Changelog

* Format + comment

* Changelog

* Use AsyncStopIteration

* Remove unused import
2022-10-07 17:12:07 -04:00
pngwn
996cd8b814
1711 image upload (#2410) 2022-10-07 19:21:21 +01:00
pngwn
8f43b6218b
add option to control page title, default to false (#2400)
* add option to control page title, default to false

* changelog

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-07 15:32:40 +01:00
Freddy Boulton
7305a19a30
Fix embedded demos in some guides (#2403)
* Dont load gradio web component in guides

* Changelog
2022-10-07 10:08:14 -04:00
phi
a36dcb5975
Resolve Gallery base64 representation issues (#2265) 2022-10-07 06:08:30 +01:00
Freddy Boulton
2acebe5490
Fix release notes (#2401) 2022-10-06 14:39:48 -04:00
aliabid94
ac378d0875
Stream works now (#2351)
* changes

* changes

* lazy load streaming deps

* lazy load streaming deps

* cleanup

* fix last chunks of streaming

* add changelog

* add changelog

* add changelog

* add changelog

* updated streaming demo

* renamed sst

* changes

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-05 14:11:47 -07:00
Dawood Khan
b59c45160d
Clamps values for typeable slider input when out of range (#2380)
* warning for slider type input

* fix value on blur

* remove unnecesary classes

* update changelog

* Update CHANGELOG.md
2022-10-05 14:30:40 -04:00
Freddy Boulton
a03d0ebe7c
Prevent apps from hanging when running in reload mode and error occurs (#2394)
* Fix show_error in blocks

* dd to changelog + test
2022-10-04 16:10:02 -04:00
Abubakar Abid
c3306721a4
Adds ability to disable pre/post-processing for examples (#2383)
* fixing examples

* adding parameters

* postprocess

* examples

* added tests

* changelog

* Update CHANGELOG.md

* added docstrings

* Adds ability to provide a `gr.update()` dictionary even if `postprocess=False`  (#2385)

* docs

* fixes

* added docs, fixed test

* changelog

* fix suggestoins

* formatting

* fix tests

* fix tests
2022-10-04 12:51:20 -07:00
aliabid94
1f5efa7efa
Reworking layout styling (#2291)
* changes

* changes

* changes

* changes

* changes

* changes

* version

* changes

* formatting

* version

* remove group hack

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* test

* changes

* changes

* changes

* changes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-03 18:01:41 -05:00
Ali Abdalla
ca67384ef1
Copy changelog file in website docker (#2384)
* copy changelog file in website docker

* Update CHANGELOG.md
2022-10-03 13:31:58 -07:00
Freddy Boulton
fb7d768013
Automated Release Notes (#2306)
* add changelog file

* Check release notes

* Fix syntax

* Fix path to changelog

* Use changelog

* Add to changelog

* Add comment

* Test comment

* Use txt file for comment body

* Fix for multiline

* rendering on website, changes to changelog

* Don't use txt file

* Fix pr number

* merge

* Split it up into two

* Test fail

* Follow example

* Fix syntax

* Delete quotes

* Add syntax

* Fix names

* Fix syntax

* Modify pr template instead and remove backticks

* Check word

* changelog file fixes

* add 3.4 release notes to changelog

* add navigation

* replace pr tag and @ usernames with links

* remove empty/unused sections from rendering

* fix format of 3.4 notes

* add releases dir and 3.0-2 notes

* render from releases dir

* remove changelog file

* Fix RN check

* Fix path

* upcoming release title

* switch to periods from dashes

* add link to changelog in docs

* Add script modify files

* Modify changelog

* change to release history

* modify gh actions

* Fix syntax

* Skip draft releases during reformatting

* skip template when rendering

* modify upcoming.md to reflect real changes

* replace links with pr tag

* Add automated release notes as a new feature in upcoming

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* eUpdate website/homepage/src/style.css

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Misc fixes

* one file at root

* Fix Changelog check

* Modify release notes format script

* Fix format script + release notes

* Add to contributing

* Undo change to release notes from testing script

* Add pr 2373 to rl

* Modify file path

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-03 12:36:59 -07:00