Commit Graph

96 Commits

Author SHA1 Message Date
Abubakar Abid
bdf9c69353 networking tests 2021-10-25 11:06:36 -05:00
Abubakar Abid
1e8cc4a333 added some networking tests 2021-10-24 03:56:54 -05:00
aliabd
377c2e483d fixing selenium tests 2021-10-22 14:46:41 -07:00
Abubakar Abid
4d11db59ee removed stale comment 2021-10-22 07:20:03 -05:00
Abubakar Abid
02c77bbcd9 Merge branch 'master' of github.com:gradio-app/gradio 2021-10-22 07:08:47 -05:00
Abubakar Abid
d5bc83b60e
Merge pull request #303 from gradio-app/abidlabs/api
Ability to call() Interfaces, including those loaded from HF Hub & Spaces
2021-10-22 07:07:58 -05:00
Abubakar Abid
cf9d179794 fixed output component issues causing tests to fail 2021-10-22 07:07:24 -05:00
Abubakar Abid
e82308eee7 making fixes based on Ali's comments 2021-10-22 06:50:26 -05:00
Abubakar Abid
6dc6ecb2cd making fixes based on Ali's comments 2021-10-22 05:55:42 -05:00
AK391
6608a4042f test changes 2021-10-21 17:30:32 -04:00
Abubakar Abid
8ee71ce5d7 started tests 2021-10-21 15:02:52 -05:00
AK391
a109ae25f4 test update util 2021-10-20 13:19:39 -04:00
AK391
86f79bb6d6
Update test_utils.py 2021-10-20 12:33:25 -04:00
Abubakar Abid
98c10fcb02 added some more tests for external APIs 2021-10-19 10:59:44 -05:00
Abubakar Abid
3e9e861184 implemented input serialization 2021-10-19 00:59:28 -05:00
Abubakar Abid
d0437bfc22 added tests for external 2021-10-17 02:25:04 -05:00
Abubakar Abid
b26355b851 same for outputs 2021-10-13 22:21:34 -05:00
Abubakar Abid
ea09fce16e test no duplicate names 2021-10-13 22:18:46 -05:00
Ali Abid
5718a5dfc6 fix tests 2021-10-12 20:42:50 +00:00
Ali Abid
40b57e67fa fix test 2021-10-12 19:57:53 +00:00
Ali Abid
bf4ae17adc restructure file upload format for file, audio, and video. Moved scipy to pydub. 2021-10-12 19:14:42 +00:00
Ali Abid
9aba5eb148 Support video example preview 2021-10-05 19:24:14 +00:00
Abubakar Abid
9ed2f1fe29 fixed warnings & unittests 2021-09-14 10:28:55 -05:00
Pradyumna Rahul
c4eeac0ca4 Adds clauses for specific exceptions in version check (#261)
When any exceptions occurs in the "try" block of the code, it would
handle it the same way regardless.
In the `version_check`, there are 4 possibilities for an error to
occur. These are as follows:
1) Gradio package is installed improperly due to which the version information is inaccessible.
2) JSON cannot be parsed from the Package version URL.
3) JSON that is parsed from the URL does not contain version information.
4) The Package URL is not accessible.

Refactored method to handle these cases and provide appropriate messages.

Co-authored-by: Pradyumna Rahul <pradyumnar@Pradyumnas-MacBook-Pro.local>
2021-09-02 14:01:51 -07:00
Ali Abid
b9310739d9 fix tests 2021-09-01 22:26:00 +00:00
Ali Abid
a2e809c4af fix tests 2021-09-01 22:21:32 +00:00
Ali Abid
e52fc1d58f fix tests 2021-08-30 19:27:36 +00:00
root
40f9ed7a8a updated PyPi version 2021-08-05 18:56:23 +00:00
Ubuntu
3d8f0ca9e6 add tests for built tag 2021-08-04 01:20:59 +00:00
Ali Abdalla
e4137a947b fixed selenium tests (#245)
* increasing time sleep to 5

* reduced gap, fixed golden
2021-07-14 16:31:16 -05:00
aliabd
44f506c5a6 added wait for color issue 2021-06-29 10:36:10 -07:00
Ali Abid
26ba1634ac fix failing tests 2021-06-15 11:07:44 -07:00
Ali Abid
53a5c1cc84 fix failing tests 2021-06-15 10:59:49 -07:00
Ali Abid
704c0a0bcd use cdn static files for unit tests 2021-06-15 10:43:57 -07:00
aliabd
2ee585be2f replaced golden images 2021-05-24 17:12:44 -04:00
Ali Abid
74e8bcb3c4 test fies 2021-05-24 14:07:04 -07:00
Ali Abid
b78ab63a0b updated test 2021-05-24 13:50:21 -07:00
Ali Abid
7f135f9d74 merge master 2021-05-24 10:48:01 -07:00
dawoodkhan82
bd0a2e2a81 unittests for mix 2021-05-20 15:16:16 -04:00
dawoodkhan82
a1053e9a9f hugging face interfaces + unittests 2021-05-20 14:43:26 -04:00
Abubakar Abid
a5912b55c3 fixed failing tests 2021-04-29 23:41:51 -04:00
Ali Abid
c48abe3161 fix tests for multiple file input 2021-04-26 08:19:24 -07:00
aliabd
8910a18c63 fixing golden images 2021-04-19 23:03:33 +04:00
aliabd
9e5a544c7b fixing selenium screenshots 2021-03-11 23:32:38 -05:00
Ali Abid
432174ef11 move 2021-03-09 09:25:21 -08:00
aliabd
7657800b58 fixed selenium tests 2021-02-25 12:23:58 -08:00
Ali Abid
bd28056fed fix tests 2020-12-21 09:55:02 -08:00
Ali Abid
cd09471b77 fix failing tests 2020-12-21 07:55:52 -08:00
aliabd
888030f041 updated golden screenshots 2020-11-24 01:10:33 +04:00
aliabd
e2a04a34d7 changed io to iface 2020-11-24 01:06:37 +04:00