Abubakar Abid
f70a394912
Fix functional tests, part 2 ( #5687 )
...
* remove build
* intentionally break
* add changeset
* testing string
* change to false
* throw error
* revert break
* delete changeset
* add client js files to cache
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-26 10:08:12 -04:00
Abubakar Abid
c57f1b75e2
Fix functional tests ( #5682 )
...
* unnamed
* add changeset
* add build
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 13:26:10 -07:00
Ali Abdalla
0be1e51f4f
Prevent race conditions when deploying website demos ( #5480 )
...
* wait for deploy to pypi
* read correct version for main deploys
* fixes
* rework
* use workflow dispatch
* fix build-pr
2023-09-18 12:47:04 -07:00
D V
52f7831751
refactor: Use package.json for version management ( #5514 )
...
* refactor: Use package.json for version management
- uses package.json file for version management.
- updated the regex pattern.
- removed the logic that creates or updates the version.txt file
* load version through package.json
* fix code duplication
* add changeset
* add changeset
* fixes
* fix
* package version
* fix
* typing
* typing
* changes
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-15 16:23:52 -07:00
pngwn
9234167c85
fix ( #5503 )
2023-09-12 14:31:54 +01:00
pngwn
b1683bd5fb
update changeset workflow for v4 ( #5499 )
...
* update changeset workflow for v4
* update changeset workflow for v4
2023-09-12 13:27:50 +01:00
pngwn
a96d4c57ca
revert to actions/checkout v3 ( #5442 )
2023-09-07 12:28:52 -07:00
renovate[bot]
fdbe58b481
chore(deps): update actions/checkout action to v4 ( #5409 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 08:18:42 -07:00
Ali Abdalla
97c3c7b173
Move scripts from old website to CI ( #5271 )
...
* delete old version docs script
* script and workflow
* if merged
* syntax
* changes
* add missing demos
* hide state component
* fix html component demo
* fix model3d guide
* fix workflow
* fix issues with oauth and main
* demo notebooks
* add changeset
* demo notebook
* refactor into existing workflows
* remove assert in networking server
* add changeset
* Fix type check
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-08-30 11:06:52 -07:00
pngwn
67a8e97805
Fix ci again again again ( #5333 )
...
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* fix vars
2023-08-24 20:25:41 +01:00
pngwn
f6e387d4fb
Fix ci again again again ( #5332 )
...
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
2023-08-24 20:03:06 +01:00
Ali Abdalla
2fd1f3e977
Add ignore scripts to pnpm i in pypi action ( #5316 )
...
* add json generation to prepare
* add changeset
* remove pnpm prepare
* add changeset
* bring back prepare, add ignore scripts
* delete changeset
* add to right commadn
* add frozen lockfile to gh_action_pypi
* remove unused gh_action_pypi script
* remove unused scripts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-24 18:22:28 +01:00
Freddy Boulton
390624d8ad
Enable streaming audio in python client ( #5248 )
...
* Add code
* Remove file
* add changeset
* add changeset
* Update chilly-fans-make.md
* lint
* Lint
* Add ffmpeg
* Lint
* Cleaner way to handle stream change
* Fix windows test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-21 12:15:36 -07:00
Freddy Boulton
b3e50db92f
Remove aiohttp dependency ( #5244 )
...
* Remove aiohttp
* add changeset
* Add requirements file to filter
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 12:03:46 -04:00
pngwn
43f3d3d77c
test ( #5195 )
...
* test
* add changeset
* ci tweaks
* ci tweaks
* fix
* fix
* delete changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-14 14:39:20 +01:00
pngwn
7334a4b182
Debug ci ( #5194 )
...
* ci tweaks
* ci tweaks
* ci tweaks
* ci tweaks
2023-08-11 22:29:59 +01:00
pngwn
2b8846f395
ci debug ( #5193 )
...
* ci tweaks
* ci tweaks
2023-08-11 22:00:32 +01:00
pngwn
5adc2fd703
asd ( #5192 )
2023-08-11 20:24:20 +01:00
pngwn
7d884a98ad
asd ( #5191 )
2023-08-11 19:41:12 +01:00
pngwn
4d41f8d3d9
Ci fixes asd ( #5190 )
...
* tweaks
* tweaks
* asd
* asd
2023-08-11 19:21:39 +01:00
pngwn
0b4642321a
tweaks ( #5189 )
...
* tweaks
* tweaks
2023-08-11 18:51:34 +01:00
renovate[bot]
96c5bfd44b
chore(deps): update actions/upload-artifact action to v3 ( #5185 )
...
* chore(deps): update actions/upload-artifact action to v3
* fix
* fix
* fix
* fix
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-11 13:09:34 -04:00
pngwn
643442e1a5
generate docs json in ci, reimplement main vs release ( #5092 )
...
* fixup site
* fix docs versions
* test ci
* test ci some more
* test ci some more
* test ci some more
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* test
* fix
* add changeset
* fix
* fix
* fix
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* notebook ci
* notebook ci
* more ci
* more ci
* update changeset
* update changeset
* update changeset
* fix site
* fix
* fix
* fix
* fix
* fix ci
* render mising pages
* remove changeset
* fix path
* fix workflows
* fix workflows
* fix workflows
* fix comment
* tweaks
* tweaks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-11 15:54:56 +01:00
Freddy Boulton
3c00f0fbfb
Install client in PR Build ( #5178 )
...
* Modify ci
* Add quotes
* Modify comment
* Fix comment
* reverse order
2023-08-11 09:32:01 -04:00
pngwn
9d1bd28bdf
chore: update versions ( #5038 )
...
* chore: update versions
* update actions
* update changelog
* other changelgo
* extra
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-10 16:59:00 -04:00
Lucain
947d615db6
Sign in with Hugging Face (OAuth support) ( #4943 )
...
* first draft
* debug
* add print
* working oauth
* inject OAuth profile + enable OAuth when expected + some doc
* add changeset
* mypy
* opt
* open in a new tab only from iframe
* msg
* add changeset
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix injection + gr.Error
* allow third party cookie when possible
* add button to sign in/sign out button
* feedback changes
* oauth as optional dependency
* disable login/logout buttons locally
* nothing
* a bit of documentation
* Add tests for Login/Logout buttons
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* mention required dependencies
* fix package
* fix tests
* fix windows tests as well
* Fake profile on local debug
* doc
* fix tets
* lint
* fix test
* test buttons
* login button fix
* lint
* fix final tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-08-10 15:12:40 -04:00
Freddy Boulton
35856f8b54
Return final output for generators in Client.predict ( #5057 )
...
* Add code
* add changeset
* add changeset
* Add feat changeset
* Fix js code snippet
* Fix changelog
* Add test
* Delete code
* Lint
* Make fix for python client
* Make JS client changes
* Add submit line to error
* Changelog
* Lint
* Undo
* Add dual handling
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-09 13:03:56 -04:00
pngwn
1419538ea7
Refactor component directories ( #5074 )
...
* asd
* changes
* fix everything
* cleanup
* add changeset
* fix casing
* lockfile
* fix casing
* fix ci, enable linting
* fix test
* add changeset
* add changeset
* delete changeset
* fix dirs
* fix casing
* fix notebooks
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 23:01:18 +01:00
Hannah
957979b113
fix deploy-pr-to-spaces
wheel link ( #5016 )
...
* change gh sha variable
* test
* remove log
2023-07-26 10:58:25 -04:00
pngwn
7ad6dfe0ae
Ci fix 1234 ( #5013 )
...
* fix token
* fix token
* fix token
2023-07-24 19:35:53 +01:00
pngwn
2891fa5995
Ci fix 1234 ( #5012 )
...
* fix token
* fix token
2023-07-24 19:06:05 +01:00
pngwn
199d9cb7fc
fix token ( #5011 )
2023-07-24 18:47:38 +01:00
pngwn
ad62cd9238
Fix changesets action ( #4998 )
...
* fix action
* tweak issue template
2023-07-22 12:50:57 +01:00
pngwn
9f857d2c01
remove changelog check ( #4996 )
2023-07-22 03:16:54 +03:00
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
देवांश वार्ष्णेय
fdc9ca2ddf
enhancement: Added support for new command 'gradio environment' ( #4915 )
...
* enhancement: Added support for new command 'gradio environment' in cli.py
* added change to the Upcoming Release section
* Add to Issue template
* making the output look a bit nicer
* format
* Use project_name
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-19 12:42:01 -04:00
Ali Abdalla
315d7f4283
Add gr.Group to docs ( #4913 )
...
* add group
* exclude js/_website from workflow and add echo pr test
* fix path / remove echo
---------
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-13 17:28:30 +03:00
Freddy Boulton
d3e1d272d5
Fix flaky ui test ( #4906 )
...
* Debug
* Upload screenshots
* Fix path
* turn on verbose mode
* turn on verbose mode
* turn on verbose mode
* await click
* cleanup
* trigger ci
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-12 21:08:36 -04:00
Hannah
d48f463cd4
Update chromatic job with build details ( #4856 )
...
* move chromatic to push event and change message
* output test
* test
* tweak
* get PR for push event
* changes
* omit forks and check label using gh action
* tweak
* workflow tweaks
* test tweak
* remove test output
* add pending comment
* tweak message
* newline
* only run chromatic workflow if pushed files are in js folder
* test
* remove test
* update workflow path filter with theme files
Co-authored-by: pngwn <hello@pngwn.io>
* add chromatic workflow to path filter
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-12 18:21:39 +01:00
pngwn
def42d0669
update pr comment ( #4893 )
2023-07-12 11:53:14 +01:00
pngwn
b6480c3903
update pr comment ( #4892 )
2023-07-12 11:44:20 +01:00
pngwn
fd3837df3c
add wheel install instructions to PR comment ( #4890 )
...
* change
* change
* change
2023-07-12 11:28:24 +01:00
Abubakar Abid
c271a199dd
Install gradio from source for chromatic ( #4816 )
...
* Install gradio from source for chromatic
* switch order
* venv
2023-07-06 19:36:26 -05:00
Hannah
4b8443ce38
omit forks from chromatic deployment job ( #4805 )
2023-07-06 14:36:00 +02:00
Yuichiro Tachibana (Tsuchiya)
8d0d4e0a8e
Prebuild lite css ( #4788 )
...
* Customize scripts/generate_theme.py to reuse for the CSS generation for @gradio/lite
* Build theme.css at the build time of Gradio-lite and update the frontend app to load it at the initialization phase
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:38:15 +01:00
aliabid94
b8eb481473
Share button ( #4651 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* restore
* merge
* del image'
* update pnpm lock
* changes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-05 19:50:17 -05:00
Hannah
acec00f60b
Improve chromatic workflow ( #4770 )
...
* only run post deployment link on PRs
* add check for chromatic token job
* replace deprecated set-output with github_env
* tweak
* add turbosnap config for vite
* sb tweak
* remove (incompatible) turbosnap
* remove redundant flag
* remove turbosnap
2023-07-05 15:18:21 +02:00
Hannah
33b5954a3b
Add gradio storybook ( #4696 )
...
* initialise storybook
* fix storybook config
* more config
* add test story
* add button story
* add a11y addon
* add chromatic job
* fix script path
* fix path again
* yml tweak
* typo
* tweak
* tweak job
* change when job runs
* revert change
* revert lockfile
* config tweaks
* regen lockfile
* tweak
* tweak
* move chromatic tests to ui workflow
* tweak
* add install deps cmd
* add install pnpm input
* job tweak
* test
* clean up
* regen lockfile
* remove redundant option
* workflow tweak
* tweak
* tweak
* cli tweak
* cli tweak
* restore inspector prop
* skip frontend gradio build and post sb url to PR
* remove pollen import
* cancel job if no-visual-update tag present
* move stoeybook files to /js and amend pnpm scripts
* tweak theme css script
* tweak action body / test tag
* fix plot test and tweak pr comment job
* fix yml
* add gh token
* test
* update pnpm lock
* yml test
* restore yml update comment
2023-07-03 16:21:00 +02:00
pngwn
96802fa135
Fix again ( #4728 )
...
* fix
* fix
* fix
* asdasd
2023-06-29 15:41:26 +01:00
pngwn
f082dd6e63
fix ( #4727 )
...
* fix
* fix
* fix
2023-06-29 15:33:32 +01:00