Commit Graph

28 Commits

Author SHA1 Message Date
pngwn
62306d9ed1
unified release process (#4986)
* Implement unified version and release mechanism for all python and javascript packages.

* Update gradio/package.json

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

* fix changelog

* fix changelog

* Update js/button/README.md

* Update .github/workflows/generate-changeset.yml

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 19:13:21 +01:00
aliabid94
280b5697eb
Mobile queue fixes (#4742)
* changes

* changes

* changes

* changes

* changes

* Styling for error, warning and info toasts (#4603)

* create abstract toast component for info/warning/error

* add icons

* add light mode theming

* add theme mode check and dark mode styles

* update theme_mode on update

* clean up render of toast content

* replace dynamic css vars with toast type css selectors

* tweak colours

* change error pill border colour to align with toasts

* formatting

* fix failed test

* rename icon files and clean up css

* changes

* changes

* changes

* changes

* changes

* changes

* chanegs

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-07 14:39:06 -05:00
pngwn
7fa5e766ce
format (#4810) 2023-07-06 18:43:49 +01:00
aliabid94
6c5427230e
Create Warning, Info modals (#4518)
* changes

* changes

* changes

* changes

* changes

* Styling for error, warning and info toasts (#4603)

* create abstract toast component for info/warning/error

* add icons

* add light mode theming

* add theme mode check and dark mode styles

* update theme_mode on update

* clean up render of toast content

* replace dynamic css vars with toast type css selectors

* tweak colours

* change error pill border colour to align with toasts

* formatting

* fix failed test

* rename icon files and clean up css

* changes

* changes

* changes

* changes

* changes

* changes

* chanegs

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-03 16:28:39 -05:00
pngwn
8b0c680d9a
chore: update versions (#4720)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-29 15:55:28 +01:00
Yuichiro Tachibana (Tsuchiya)
ab5d1ea0de
Fix the description field of client/js/package.json (#4717) 2023-06-29 12:57:46 +01:00
Yuichiro Tachibana (Tsuchiya)
4fbdefe94e
Gradio-lite (Gradio Wasm) (#4402) 2023-06-27 08:09:50 +01:00
aliabid94
0909c35102
Duplicate spaces integration into gradio (#4458)
* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes
2023-06-21 12:25:25 -07:00
renovate[bot]
6a92e19a0d
chore(deps): update all non-major dependencies (#4601)
* chore(deps): update all non-major dependencies

* Update website/homepage/Dockerfile

* changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-21 15:56:10 +01:00
pngwn
7e99ce74c7
chore: update versions (#4358) 2023-06-20 14:23:01 +01:00
Abubakar Abid
3d82094de2
Support PAUSED Space status when embedding (#4438)
* Support paused status

* fix

* changelog

* Update client/js/src/client.ts

Co-authored-by: pngwn <hello@pngwn.io>

* formatting

* added paused space

* formatting

* logs

* added test space, fixes

* Update client/js/src/client.ts

Co-authored-by: pngwn <hello@pngwn.io>

* remove logs

* fix

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-09 02:20:16 -05:00
Abubakar Abid
d82dfb886d
Fix loading private Spaces (#4430)
* replace api key with hf_token

* removed extra slash

* changelog

* update notebooks

* lint

* changelog

* changelog

* revert demo
2023-06-07 13:55:05 -05:00
pngwn
0dbd8f7fee
various client refactors + tweaks (#4357)
* changeset

* Add a type annotation on the `api` variable to which the return value of `view_config()` is assigned, and update the type annotation and exception handling on `view_config` as well (#4311)

* Remove unnecessary @ts-ignore (#4314)

* Remove unnecessary Promise wrapping another promise (#4313)

* Remove unnecessary Promise wrapping another promise

* Remove an error handeler that may remove detailed error stacks

* changeset

* remove changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>

* Stop using `let` for unchanged variables in `client.ts` (#4312)

* Stop using `let` for unchanged variables in `client.ts`

* fixes

---------

Co-authored-by: pngwn <hello@pngwn.io>

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2023-05-30 11:50:33 +09:00
pngwn
caceb7a5b1
chore: update versions (#4283)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-29 16:30:54 -07:00
Yuichiro Tachibana (Tsuchiya)
0888175b0e
Fix typo in client/js/README.md (#4310)
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-29 14:04:00 -07:00
Yuichiro Tachibana (Tsuchiya)
b525b122dd
Add overridden type annotations on normalise_file() to remove @ts-i… (#4315)
* Add overridden type annotations on `normalise_file()` to remove @ts-ignore, and remove its unnecessary export

* changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-05-28 19:40:20 -07:00
pngwn
1d0f0a9db0
Ensure error modal display as expected when using the queue (#4273) 2023-05-20 00:32:12 +01:00
pngwn
1151c52535
fix info request in js client (#4271)
* fix info request in js client

* changelog
2023-05-19 10:58:42 -04:00
pngwn
d0e0c81046
chore: update versions (#4207)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 22:57:49 +01:00
pngwn
c3dadaebbe
fix cancels (#4225)
* fix cancels

* changelog

* refactor to make it work
2023-05-16 22:37:28 +01:00
pngwn
a26e9afde3
Fix client filepaths (#4202)
* transform returned paths to useful URLs

* changeset

* update app

* revert

* revert

* changelog

* Update client/js/src/client.ts

Co-authored-by: aliabid94 <aabid94@gmail.com>

* format

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-05-16 22:04:51 +01:00
pngwn
da5b4ee117
Fix semiver import (#4201) 2023-05-14 10:42:02 +01:00
pngwn
83134c10eb
client docs tweaks (#4196)
* ci typo

* fix

* again

* again

* again

* ignore workbench

* small tweaks for publish + docs
2023-05-12 23:24:30 +01:00
pngwn
c723f7f2c9
chore: update versions (#4188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-12 22:07:07 +01:00
pngwn
963c2d26ee
3712 js client (#3899) 2023-05-12 16:22:25 +01:00
space-nuko
5a7610950e
Fix sketch tool gr.Image not filling up the entire component size (#3649)
* Fix sketch tool `gr.Image` not filling up the entire component size

* Update changelog

* version

* version

* changes

* changes

* Update js/atoms/src/Block.svelte

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

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-04-10 14:27:02 -07:00
pngwn
48e8b113f4
node support for js client (#3692)
* bundle js client + gen types

* changeset

* changeset

* fix bugs

* fix deps

* fix deps

* format

* fix ci

* fix types
2023-04-03 14:33:01 +01:00
pngwn
ae4277a9a8
move files (#3605)
* move files

* commit the rest of the files

* fix lockfile

* fix workflow

* fix type errors

* fix tests

* only run ci when certain files change

* run correct test command in ci

* version

* fix pypi script

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00