Commit Graph

254 Commits

Author SHA1 Message Date
renovate[bot]
f3f60dafb5
Update actionsdesk/lfs-warning action to v3.3 (#7937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 10:13:44 -07:00
Freddy Boulton
755157f99c
Do not reload code inside gr.NO_RELOAD context (#7684)
* Add code

* Copy files

* I think its working

* Tidy up

* add changeset

* do not change demos

* test

* Don't copy files

* Add code

* lint

* Add reload mode e2e test

* Reload mode test

* add changeset

* add changeset

* Use NO_RELOAD

* add no reload to docs

* add changeset

* Fix docs

* handle else statements. No need to edit string

* Fix typos

* Use compile

* Do not use unparse

* notebook

* Documentation comments

* Fix top-package import without having to delete all modules

* Revert demo calculator

* Typo guides

* Fix website

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-21 15:59:53 -04:00
Abubakar Abid
dd3e363261
Fail CI if lint or typecheck fails (#7770)
* fail

* test

* revert

* run shebang

* fix

* fixes

* add changeset

* changes

* bash

* not required

* file

* textbox

* add changeset

* changes to demo

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-21 11:34:56 -04:00
Abubakar Abid
1e45aefde5
switch python version to 3.8 (#7700) 2024-03-14 10:42:55 -07:00
Ali Abdalla
82263ed365
add client wheel (#7612) 2024-03-05 11:00:18 -08:00
pngwn
fc04eed704
fix (#7596) 2024-03-04 14:31:47 +00:00
pngwn
b52997635a
fix ci (#7595) 2024-03-04 14:20:30 +00:00
pngwn
561579d9b7
fix-tests (#7345)
* fix-tests

* [tmp] Comment-out

* Fix the URL constructor calls in `resolve_wasm_src()`, `should_proxy_wasm_src()`, and `<DownloadLink />` to handle relative URLs

* Remove a circular dependency between lite/index.ts and lite/custom-element/index.ts to solve a bug that the dev app is mounted twice sometimes

* Fix js/app/test/image_component_events.spec.ts

* Set the `testIgnore` in `.config/playwright.config.js`

* Fix the Lite dev mode only to create an app and expose the controller for Playwright, without editors etc.

* add changeset

* Set the mocked ruff version as 0.2.2

* Extend timeout

* Fix to use the built lite files instead of the dev server

* add changeset

* comment out failed tests

* Revert "comment out failed tests"

This reverts commit 3580d79887.

* Fix the Gellery component to work in Wasm

* Fix js/app/test/file_explorer_component_events.spec.ts to run on Wasm

* Ignore queue_full_e2e_test.spec.ts

* Revert "[tmp] Comment-out"

This reverts commit c775c0cc29.

* Revert "Extend timeout"

This reverts commit 742d1e1e83.

* Remove a commented out line

* Refactor file_explorer_component_events.spec.ts

* Revert "fix-tests", restoring the original test-functional.yml content

This reverts commit 9ff2a7ddc5.

* Set CI step names

* [tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"

This reverts commit de2dbe3317.

* Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content""

This reverts commit 32154f3bb1.

* [tmp] Revert "Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"""

This reverts commit 204075e190.

* Fix vite.config.js removing unnecessary code

* Revert "Set the `testIgnore` in `.config/playwright.config.js`"

This reverts commit 98dccc5be9.

* Add gallery_component_events.spec.ts

* Revert js/app/test

* tweak

* tweak

* revert workflow changes

* add changeset

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-04 14:03:46 +00:00
renovate[bot]
ba1459afd9
chore(deps): update chromaui/action action to v11 (#7514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-23 10:35:31 -08:00
Abubakar Abid
06b30ce277
More CI stuff: remove force install (#7462)
* update httpx requirement

* add changeset

* add to client

* add changeset

* fix version

* reorder

* test

* try force reinstall

* change

* reorder action

* remove force

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-16 15:33:20 -08:00
Abubakar Abid
a4c307bc2c
Reorder action (#7461)
* update httpx requirement

* add changeset

* add to client

* add changeset

* fix version

* reorder

* test

* try force reinstall

* change

* reorder action

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-16 15:27:33 -08:00
pngwn
805a5136a1
fix test reqs in functional tests (#7454) 2024-02-16 17:27:07 +00:00
renovate[bot]
a6371bbcae
chore(deps): update dorny/paths-filter action to v3 (#7418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 16:04:27 -05:00
Abubakar Abid
547517b74e
Small PR to move generate_notebooks.py to scripts folder (#7400)
* move generate_notebooks.py to scripts folder

* generate notebooks

* final? fix
2024-02-13 09:05:19 -08:00
pngwn
d56bb28df8
fix spaces comment and remove echos (#7373)
* remove unnecessary condition for deployment workflow

* remove unnecessary echo statements in GitHub Actions workflows

* fix website ci

* add condition to only run comment-spaces-start workflow if changes workflow outputs 'should_run' as 'true'
2024-02-09 18:01:44 +00:00
pngwn
a6d9f3bb3c
chore: update user mentions and log ci (#7371) 2024-02-09 13:52:12 +00:00
pngwn
e3b302dc01
fix again (#7346) 2024-02-07 15:41:20 +00:00
pngwn
62488923ac
fix ci (#7341)
* fix ci

* disable lite tests
2024-02-07 15:35:29 +00:00
pngwn
5b45a162b3
Fix lite tests (#7343)
* fix-tests

* fix-tests

* fix-tests

* fix-tests

* fix-tests
2024-02-07 15:05:55 +00:00
pngwn
0db7272694
Fix lite tests (#7342)
* fix-tests

* fix-tests

* fix-tests

* fix-tests

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-07 14:57:52 +00:00
Yuichiro Tachibana (Tsuchiya)
cccab27fe8
E2E tests for Lite (#6890)
* Set up E2E test config for lite

* Use the same Page instance for all the tests in the case of lite

* Fix reading demo files

* Fix config

* Install requirements based on `requirements.txt`

* Add the "loaded" event dispatched from the main component to make a promise wait for the compoonent to be loaded

* Refactor js/tootils/src/index.ts

* Add testIgnore for lite

* Fix chatbot_multimodal.spec.ts

* Stop raising an exception when trying to cache examples but just show warning

* Update comment

* Mark the test slow when the page is initialized in it

* Add logs

* Set timeout

* add changeset

* Add the CI file .github/workflows/test-lite.yml

* Add E2E testing for Lite to the test-functional job

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-06 23:46:54 -08:00
pngwn
59c50811fb
improve visual ci config (#7275)
* fix

* fix
2024-02-01 20:09:01 +00:00
pngwn
d901b7c807
fix (#7273) 2024-02-01 19:39:12 +00:00
Aarni Koskela
5d24c356f8
CI: update GitHub Actions versions (#7249)
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-01 18:14:41 +00:00
pngwn
9fa0a1ce1c
fix (#7268) 2024-02-01 17:08:08 +00:00
pngwn
f1e1c2083c
Fix ci cache (#7262)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:27:54 +00:00
pngwn
e983c1c80e
Fix ci cache (#7261)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:15:15 +00:00
pngwn
5df96c5b09
Fix ci cache (#7260)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:07:03 +00:00
pngwn
c37af22ffe
Fix ci cache (#7259)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 12:56:35 +00:00
pngwn
09257ef1f1
Fix ci cache (#7256)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 12:49:48 +00:00
pngwn
93728da3ba
Fix ci cache (#7254)
* fix

* fix

* fix
2024-02-01 11:22:55 +00:00
pngwn
dca6068bac
Fix ci cache (#7253)
* fix

* fix
2024-02-01 11:20:55 +00:00
pngwn
fb09d6b3fb
fix (#7252) 2024-02-01 11:18:22 +00:00
pngwn
0b09e1bb2f
Debug ci 2 (#7251)
* changes

* fix

* fix
2024-02-01 10:34:22 +00:00
pngwn
22188e922b
Debug ci 2 (#7250)
* changes

* fix
2024-02-01 10:24:15 +00:00
pngwn
46f2ffc99d
fixes (#7248) 2024-02-01 02:10:34 +00:00
pngwn
6bfb375d20
Fix ciasdasd (#7246)
* fixes

* asdasd

* fixes

* fixes
2024-02-01 01:39:27 +00:00
pngwn
213650b92b
Fix ciasdasd (#7245)
* fixes

* asdasd

* fixes
2024-02-01 01:26:19 +00:00
pngwn
43579539a9
Fix ciasdasd (#7244)
* fixes

* asdasd
2024-02-01 01:14:27 +00:00
pngwn
d1b5c7a946
fixes (#7243) 2024-02-01 01:06:39 +00:00
pngwn
4cfd8dcde8
Make ci work (#7233)
* update ci

* test

* test

* test

* test

* test

* test

* test

* test

* editable install

* editable install

* escape backslashes for bash

* escape backslashes for bash

* only generate website json in linux

* that was stupiud

* check ci still works

* please work

* pretty please?

* errr

* now?

* more

* more

* more

* deploy space

* deploy space

* tweaks

* changes

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* final tweaks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 00:46:55 +00:00
renovate[bot]
59b9715f82
chore(deps): update 8bitjonny/gh-get-current-pr action to v3 (#7232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:54:08 -08:00
pngwn
572e360fff
Upload tweak (#7206)
* make uploadprogress display consistently in custom components

* add engines

* add changeset

* add changeset

* bump ci pnpm version

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-29 14:53:54 +00:00
Freddy Boulton
8e5ab31d75
Only run flaky tests if flaky-tests label is applied to PR (#7048)
* Add label

* trigger ci
2024-01-18 10:33:32 -05:00
renovate[bot]
5bc6fca607
chore(deps): update actions/cache action to v4 (#7047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 17:13:51 -05:00
Freddy Boulton
13dc8b0f38
Revert install ffmpeg action to version 2 (#7039) 2024-01-16 17:07:10 -05:00
Ali Abdalla
a7db8c1b8a
Add env to lite build (#7000)
* add venv

* comma

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 15:22:22 -08:00
Abubakar Abid
576b7ce827
lite build fix: install build package (#6999)
* install build package

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 14:59:18 -08:00
pngwn
059e47eb62
fix lite build in ci (#6998) 2024-01-10 22:26:11 +00:00
renovate[bot]
de603edfe2
Update FedericoCarboni/setup-ffmpeg action to v3 (#6941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 08:15:17 -08:00