Commit Graph

8 Commits

Author SHA1 Message Date
Halil Ibrahim Bestil
51c8c34486
Async Request Class (#1595)
* Implement Request class and its tests.

* Add new requirements

* Reformat codebase.

* Fix formatting.

* Add library level requirements.

* Convert validated_data property to get_validated_data function.

* Fix the client fixture.

* Update test/test_utils.py

* Update test/test_utils.py

* Fix the client fixture.

* Add missing initialization for Request._validated_data

* Fix async test problem with test_tunneling.py

* Update gradio/utils.py

* Update gradio/utils.py

* Fix formatting.

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-23 20:44:04 +03:00
Ömer Faruk Özdemir
a88c017f87
async-function-support (#1190)
* async-function-support

- add async function support to Blocks

* async-function-support

- resolve conflicts

* async-function-support

- add error to Interface for async functions

* async-function-support

- add test

* async-function-support

- add test packages

* async-function-support

- add test packages
2022-05-11 23:10:50 +03:00
Ömer Faruk Özdemir
7619ae76d1 Accelerate-Tests
- speed up a test with a smaller model
- add torch to reqs
2022-02-09 10:24:30 +03:00
Ömer Faruk Özdemir
82cb2de626 Accelerate Tests
- add coverage to the circleci
- combine the divided tests into single folder
- update requirements
2022-02-09 08:50:00 +03:00
Ömer Faruk Özdemir
91d09b15ea Accelerate Tests
- add only pytest to the circleci for testing it
- add more filtering to pytest scripts
- add pytest-cov to reqs
2022-02-08 19:56:58 +03:00
Ömer Faruk Özdemir
709c93ee03 Use requirement installation script in circleci installations to have single requirements list. 2022-02-04 15:23:11 +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