Yuichiro Tachibana (Tsuchiya)
0cf93e50b8
Make shell scripts executable and fix their shebangs ( #6901 )
...
* Add executable permission to scripts/*.sh
* Set -eu to the shebang in /scripts/*.sh
* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08: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
Artin Mohammadi
bdced314bc
Scripts become much easier to read and understand ( #1918 )
...
* Being nice to the user
* Front-end builder, CircleCI runner, and Gradio installer updated
* The testing scripts updated
* Front-end runner and the website launcher updated
* The formatters updated
* GitHub Actions and PyPI uploader scripts updated
* Updating the URLs
* Removing commented codes
* Delete a blank line
2022-08-01 15:17:03 -07:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info ( #1669 )
...
* Use requirements.txt
* Fix checksum in circleci
* Ignore egg info dir
* Install from requirements.txt
* Install gradio
* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
Ömer Faruk Özdemir
c22ec0fb22
Dev Requirements
...
- add pwd check to the scripts
2022-01-28 17:14:14 +03:00
Ömer Faruk Özdemir
c2a2609b2f
Dev Requirements
...
- edit requirements
2022-01-26 17:27:19 +03:00
Ömer Faruk Özdemir
1d09c9970a
Dev Requirements
...
- create test/requirements.in
- create scripts folder, move and create scripts under it
- update CONTRIBUTING.md
2022-01-24 17:33:01 +03:00