Commit Graph

412 Commits

Author SHA1 Message Date
Abubakar Abid
81e4a08a64 removed process examples 2022-03-24 13:45:04 -07:00
Abubakar Abid
721e2db8ee removed external tests 2022-03-24 13:39:39 -07:00
Abubakar Abid
1d316d38a1 commented external, removed context 2022-03-24 13:32:04 -07:00
Abubakar Abid
63d18ac02b formatting 2022-03-23 15:50:10 -07:00
Abubakar Abid
fa27aa5876 fixed outputs tests 2022-03-23 15:49:37 -07:00
Abubakar Abid
95e861e061 test_routes passing 2022-03-23 14:53:21 -07:00
Abubakar Abid
6b259bde95 removed outdated outputs tests 2022-03-23 14:32:07 -07:00
Abubakar Abid
41197a6a59 removed examples test 2022-03-23 14:16:53 -07:00
Abubakar Abid
6a82b72d56 test_inputs pass' 2022-03-23 14:15:08 -07:00
Abubakar Abid
6c01bad233 commented out flagging tests as we don't support that yet 2022-03-23 14:06:00 -07:00
Abubakar Abid
0edf628b25 test_external passing 2022-03-23 09:25:53 -07:00
Abubakar Abid
5b3bb9e11a removed test demos, test encryptor passes 2022-03-23 09:22:44 -07:00
Abubakar Abid
60f6f86da7 context tests pass 2022-03-23 09:21:30 -07:00
aliabid94
a8ab1c81a1
Blocks dev (#853)
* Blocks-Components-v2
- default -> default_value refactoring

* Blocks-Components-v2
- refactor output types into output_type and make them auto

* Blocks-Backend-Events
- all events are implemented

* Blocks-Backend-Events
- refactor fn: str -> Callable

* Blocks-Backend-Events
- add change event to TabItem

* Blocks Backend Components
- Remove KeyValues from components

* Blocks-Backend-Components-v2
- Resolve Components imports in inputs and outputs

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- docstring updates

* revert demos

* Blocks-Backend-Components-v2
- tweaks

* Blocks-Backend-Components-v2
- add change event to Tabs

* Interfaces from Blocks (#849)

Build interfaces from blocks

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

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-22 15:40:36 -07:00
dawoodkhan82
10bb240e23 reformat 2022-03-21 14:02:17 -04:00
Abubakar Abid
457df16d6b added full highlighting and tests 2022-03-21 10:42:53 -07:00
Abubakar Abid
d25419b16f fixed interpretation 2022-03-19 08:20:22 -07:00
Abubakar Abid
f2a5ecdca6 fixed test inputs.py 2022-03-19 08:14:54 -07:00
Abubakar Abid
db6f8452f1 fixed test data 2022-03-19 07:52:25 -07:00
Abubakar Abid
77eae4534d fixing test inputs 2022-03-18 17:18:06 -07:00
Abubakar Abid
6bcbde43d7 fixing test_inputs.py 2022-03-18 17:08:24 -07:00
Abubakar Abid
408f743ba8 fixed external tests 2022-03-18 16:44:57 -07:00
Abubakar Abid
7044defcc9 changed external.py to use components 2022-03-18 15:49:38 -07:00
Ömer Faruk Özdemir
fa84324b60 Blocks-Components
- solve import issues
2022-03-18 19:59:47 +03:00
Abubakar Abid
427d70f6e8
Merge pull request #831 from gradio-app/textarea_line_fix
fix line count
2022-03-17 10:50:53 -07:00
Abubakar Abid
087de3f067
Merge pull request #827 from gradio-app/examples_bug_fixes
Fixes to examples; use builtin csv sanitization
2022-03-17 10:46:07 -07:00
Abubakar Abid
9af4ab320d updated test images 2022-03-17 10:45:48 -07:00
aliabid94
da7a8f06ca
Full height gradio app (#828)
* fix

* changes

* changes

* changes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-17 11:54:01 -05:00
Ali Abid
abb85c0f9b changes 2022-03-16 19:26:39 -05:00
Abubakar Abid
2a7757ee7e formatting
Former-commit-id: b78188d885230fd4ad617ee7288e840aa6dea321
2022-03-14 09:37:30 -05:00
Abubakar Abid
a415e5abc8 sanitize flagging inputs before writing to csv
Former-commit-id: f2d9f808c79abec7f2c8ff4a94b17a9b1cdd5651
2022-03-14 09:36:51 -05:00
pngwn
163806c4f6 Merge branch 'Blocks-Components' into gradio-dash-fe 2022-03-11 16:07:28 +00:00
Abubakar Abid
befa7bc8a2 fixed speech text model 2022-03-07 13:13:17 -06:00
Abubakar Abid
f9034db75b fixed naming 2022-03-07 13:01:43 -06:00
Abubakar Abid
c65f9a599f added pydantic data models for all requests 2022-03-05 21:56:50 -05:00
Abubakar Abid
fd034ee29f test state 2022-03-04 00:24:17 -05:00
Abubakar Abid
8cb7025608 fixed formatting 2022-02-28 08:07:54 -05:00
Abubakar Abid
b0439c16b9 fixed test 2022-02-28 08:01:13 -05:00
Abubakar Abid
95ff9740e5 formatting 2022-02-27 16:47:12 -05:00
Abubakar Abid
ea96e1f753 small fix to start_server docstring & added a test 2022-02-27 16:44:59 -05:00
Abubakar Abid
5ab116a14c updated test image 2022-02-23 11:27:24 -05:00
pngwn
4f26051d35
fix: dark mode (#652)
* swap postcss nested for tailwinf nesting plugin

* dark mode dataframe

* make background height expand with content

* updated test images

* fixed images

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-02-17 13:21:18 -08:00
Ömer Faruk Özdemir
b79794a624 Optional-Input-Clarification
- move (optional) labeling to the frontend
2022-02-17 18:34:35 +03:00
Ömer Faruk Özdemir
1803d3a223 Merge branch 'master' into Optional-Input-Clarification 2022-02-17 16:57:08 +03:00
Ömer Faruk Özdemir
093cc2f3e3 Gradio-Dashboard
- convert context global fields to class Fields
2022-02-17 16:42:44 +03:00
aliabid94
d3a680697a
black fix (#628)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-15 16:32:42 -08:00
Anton Kollmats
ae5a0c7fad fixes PermissionError for non-writable flagging path 2022-02-15 11:15:11 +01:00
aliabid94
2734bd782e
python format fix [hotfix] (#615)
* format fix

* fix image tests

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-14 21:03:51 -08:00
Abubakar Abid
a786eff15a merged master 2022-02-14 18:32:23 -05:00
aliabid94
1f7e5c7b41
Tests Fix (#609)
* test commit

* fix yellow colow

* height fixes

* fix

* fix golder images

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-14 15:27:29 -08:00
Abubakar Abid
1260068e2e fixed tests 2022-02-12 17:38:57 -05:00
Ömer Faruk Özdemir
8251a52447 Merge branch 'Format-The-Codebase' of https://github.com/gradio-app/gradio into Format-The-Codebase 2022-02-10 11:12:34 +03:00
Ömer Faruk Özdemir
4c5e116709 Format-The-Codebase
- add a format script
- solve a conflict between flake8 and black
2022-02-10 11:12:26 +03:00
Abubakar Abid
7071c0bd41 replaced networking.url_request with standard requests.get 2022-02-10 00:10:00 -05:00
Ömer Faruk Özdemir
972c66e09b Format-The-Codebase
- solve the flake8 warnings
2022-02-09 22:52:26 +03:00
Ömer Faruk Özdemir
6a77a30a4a Format-The-Codebase
- solve the conflict between black and isort
2022-02-09 17:32:43 +03:00
Ömer Faruk Özdemir
23af8e559c Format-The-Codebase
- isort repo
2022-02-09 16:42:32 +03:00
Ömer Faruk Özdemir
3a9d018eab Format-The-Codebase
- rename a test
2022-02-09 16:15:01 +03:00
Ömer Faruk Özdemir
80b5e117c9 Format-The-Codebase
- format the code-base
2022-02-09 14:56:41 +03:00
Ömer Faruk Özdemir
87d7fbee61 Format-The-Codebase
- format the codebase
- add format checkers to circleci
2022-02-09 10:40:05 +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
4d9e3f4cda Accelerate-Tests
- speed up a test with a smaller model
2022-02-09 09:38:40 +03:00
Ömer Faruk Özdemir
6a30e5d24f
Merge branch 'master' into Accelerate-Tests 2022-02-09 08:53:33 +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
e57198a1b1 Accelerate Tests
- rename test subfolders to pass the tests
2022-02-08 22:09:23 +03:00
Lysandre
5522fa4d6a Upgrade black to version ~=22.0 2022-02-08 13:56:13 -05: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
910d5d376f Accelerate Tests
- Update requirements.txt
- Add a warning to create_test_requirements.sh
2022-02-07 14:52:58 +03:00
Ömer Faruk Özdemir
bb6805e25f Accelerate Tests
- Create local and cloud test folders and move all the tests with duration > 1 second to the cloud tests.
- Update scripts
2022-02-07 14:29:55 +03:00
Ömer Faruk Özdemir
622e11c045 Update requirements.txt 2022-02-07 13:44:25 +03:00
aliabid94
7320022de1
restore theme (#547)
* restore theme

* fix test

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-04 14:46:22 -08:00
Ömer Faruk Özdemir
5912daa8c6
Merge pull request #543 from gradio-app/Dev-Requirements
Circleci Installations Use Requirements
2022-02-04 18:37:50 +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
Abubakar Abid
ac22485d33
Merge pull request #535 from gradio-app/AK391/master
Ak391/master
2022-02-03 11:24:28 -05:00
Abubakar Abid
8e632b84dc Fixed audio to audio & better error messaging if Space is not loading 2022-02-03 08:33:20 -05:00
aliabid94
5fdd721834
additional migration features (#520)
* additional migration fixes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-02 21:49:26 -08:00
AK391
e84c5be03d add audio-to-audio 2022-02-02 18:17:50 -05:00
Ali Abid
aab74369af fix tests 2022-01-31 00:56:48 +00:00
Ali Abid
2603d38d85 fix tests 2022-01-31 00:49:46 +00:00
Ali Abid
9f9bbac77b fix tests 2022-01-31 00:25:11 +00:00
Ömer Faruk Özdemir
c2a2609b2f Dev Requirements
- edit requirements
2022-01-26 17:27:19 +03:00
Ömer Faruk Özdemir
521b824878 Merge branch 'master' into Dev-Requirements 2022-01-26 16:22:51 +03:00
Abubakar Abid
7f23f9b326 added tests for process examples 2022-01-26 00:05:50 -06:00
Abubakar Abid
82cea220fa added flagging tests 2022-01-25 23:44:41 -06:00
Abubakar Abid
e76aa4a1d9 finished queuing tests 2022-01-25 23:26:47 -06:00
Abubakar Abid
f88b61a85d started queueing tests 2022-01-25 22:13:01 -06:00
Abubakar Abid
3261722ac7 Queuing tests 2022-01-25 16:52:09 -06:00
Abubakar Abid
19d95c460d Fixed audio tokenization 2022-01-25 16:22:46 -06:00
Abubakar Abid
8ccd82187c renamed app.py to routes.py, separated tests 2022-01-25 14:32:32 -06:00
Ömer Faruk Özdemir
ea0f78a85e Merge branch 'master' into Dev-Requirements 2022-01-25 09:17:36 +03:00
Abubakar Abid
888c8ee2c8 additional tests 2022-01-24 18:03:52 -06: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
Abubakar Abid
b1a582c6c5 unused improt 2022-01-23 22:55:13 -06:00
Abubakar Abid
f6341be7c7 flagging 2022-01-23 22:54:48 -06:00
Abubakar Abid
b16cd78f40 added tests for encryptor.py 2022-01-23 22:47:18 -06:00
Ömer Faruk Özdemir
cc0cff893f Format The Codebase
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Abubakar Abid
6fa0fe9709 fixed loading models that output image and audio 2022-01-17 11:43:38 -06:00
Abubakar Abid
c23e086002 fixing test image 2022-01-15 10:47:06 -06:00
Abubakar Abid
e7f3583eda fixing test image 2022-01-15 10:45:37 -06:00
Abubakar Abid
d007d0a943 cleanup 2022-01-14 08:29:08 -06:00
Abubakar Abid
7cb04655e5 cleanup 2022-01-14 08:28:11 -06:00
Abubakar Abid
018123e9b7 added more detail on error analytics 2022-01-11 15:28:03 -06:00
aliabd
eda84069d2 fixed some golden screenshots 2022-01-10 20:28:07 +04:00
Abubakar Abid
3a79fe754a fixing tests 2022-01-09 23:49:03 -06:00
Abubakar Abid
eb3c082039 flagging tests not passing 2022-01-08 13:17:18 -06:00
Abubakar Abid
86c6a61b55 fixed tests 2022-01-07 10:25:41 -06:00
Abubakar Abid
3f27a57352 merged 2022-01-07 08:32:56 -06:00
Abubakar Abid
560b6d3b64 fixed auth issue 2022-01-05 16:12:58 -05:00
Abubakar Abid
c3cb06a17c fixed tests 2022-01-04 12:58:37 -05:00
Ali Abid
016336d07c text fices 2022-01-04 16:38:23 +00:00
Ali Abid
87f86aad38 fix tests 2022-01-03 23:55:45 +00:00
Ali Abid
ddba6d29a8 fix tests 2022-01-03 23:48:22 +00:00
Ali Abid
dfe99d6b17 fix tests 2022-01-03 23:39:53 +00:00
Ali Abid
73300d1822 fix tests 2022-01-03 23:26:01 +00:00
Ali Abid
882bd9176e fix tests 2021-12-30 11:02:18 +00:00
Ali Abid
859426bb78 fix tests 2021-12-30 10:53:11 +00:00
Ali Abid
da7c6c3701 fix tests 2021-12-30 10:45:49 +00:00
Ali Abid
a20871cd7c fix test 2021-12-30 09:41:51 +00:00
Abubakar Abid
bd433577b6 added typing; deprecated capture_session; fixed test 2021-12-25 08:35:45 -06:00
Abubakar Abid
2f90610247 merged 2021-12-24 11:34:25 -06:00
Abubakar Abid
1575e559b5 merged 2021-12-24 11:27:27 -06:00
Ali Abid
a374b90f09 fix tests 2021-12-24 16:20:50 +00:00
aliabd
7f4ae435a0 fixed golden screenshots for selenium 2021-12-23 21:25:16 +04:00
Abubakar Abid
af3018f305 Merge branch 'master' into flagging-spaces 2021-12-23 07:43:09 -06:00
Ali Abid
49d0d01334 fix tests 2021-12-22 08:55:10 +00:00
Abubakar Abid
9a95387a73 merged master 2021-12-22 00:18:32 -06:00
Abubakar Abid
3d4306adca fixed tests 2021-12-21 14:20:43 -06:00
Abubakar Abid
118315fe4b fixed tests; had to remove one from utils 2021-12-21 13:40:22 -06:00
Abubakar Abid
33c345fce2 fixed Ali's comments 2021-12-21 11:33:04 -06:00
Abubakar Abid
d69ab86247 Merge branch 'master' into port-issue 2021-12-21 10:43:09 -06:00
Abubakar Abid
77998232b0 added remaining pipelines 2021-12-20 17:59:07 -06:00
Abubakar Abid
95147d859e continued working on pipelines 2021-12-20 16:04:37 -06:00
Abubakar Abid
9d54d13d54 allows you to fix port; deprecates server_port, server_name parameters in Interface() 2021-12-17 10:43:11 -06:00
Abubakar Abid
8dc11093b9 significant cleanup and test fixes 2021-12-16 09:43:31 -06:00
Abubakar Abid
160a037989 added test for checking if static files are served safely 2021-12-14 17:05:02 -06:00
aliabid94
b4d9825409
Website: WIP (#328)
Ported gradio website into gradio repository, now launched as a docker service from gradio/website
2021-12-13 22:02:19 -08:00
Ali Abid
39ffefbdc1 webcam video support 2021-11-24 19:41:46 +00:00
Abubakar Abid
b44d41ece8 fixed tests 2021-11-20 17:45:13 -06:00
AK391
6cbfbb3d9b add test for capture session 2021-11-16 20:28:13 -05:00
Abubakar Abid
704073d274 fixed some flagging tests 2021-11-16 12:43:40 -06:00
Abubakar Abid
d4c357b837 reorganized flagging to make it easier to subclass 2021-11-16 12:24:01 -06:00
Abubakar Abid
38b4a4a66a Merge branch 'master' into flagging-spaces 2021-11-16 12:08:58 -06:00
Abubakar Abid
44e8769a5a Series working with external 2021-11-15 09:39:06 -05:00
Abubakar Abid
f361f36625 indentation fix 2021-11-15 07:14:21 -06:00
Jeroen Van Goey
b567a93af2
Update test to catch ValueError when serializing Image with unknown type 2021-11-15 11:15:25 +01:00
Abubakar Abid
fa78beddb0 refactored flagging 2021-11-13 00:33:59 -06:00
Abubakar Abid
1f011336f9 merged in master 2021-11-12 12:10:55 -06:00
AK391
30ed40afb7 tests for integration and fixes bug 2021-11-11 22:43:27 -05:00
AK391
569c1d0b42 inline option and example tests 2021-11-10 22:40:57 -05:00
Abubakar Abid
55c4fb3727 patched test interface 2021-11-10 08:24:57 -06:00