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
AK391
ceeb475a00
fix test issues
2021-11-09 22:34:08 -05:00
AK391
d3a9057ad3
Merge remote-tracking branch 'upstream/master'
2021-11-09 21:20:36 -05:00
Abubakar Abid
d09b24ae5f
fixed tests based on Ali's feedback
2021-11-09 12:30:59 -06:00
Abubakar Abid
424d390319
fixed tests so they do not trigger analytics
2021-11-09 08:48:55 -06:00
AK391
5e1b9baf51
more tests
2021-11-09 00:02:37 -05:00
AK391
974faf5107
Merge branch 'gradio-app:master' into master
2021-11-08 23:13:41 -05:00
dawoodkhan82
a9a96b268f
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-11-08 15:45:37 -05:00
dawoodkhan82
7c00c230e1
uncomment test case
2021-11-08 15:45:25 -05:00
Abubakar Abid
9b2280c33d
Merge pull request #342 from gradio-app/abidlabs/windows-tests
...
fixed tests to they pass on woindows Link T-6
2021-11-08 14:43:59 -06:00
dawoodkhan82
3fa97d67a7
merge
2021-11-08 15:38:41 -05:00
dawoodkhan82
931429754e
processing_utils tests
2021-11-08 15:37:32 -05:00
Abubakar Abid
ec03a04119
fixed tests to they pass on woindows
2021-11-08 13:29:04 -06:00
AK391
00e79fdaa5
more tests
2021-11-05 20:10:37 -04:00
AK391
09e7f264f1
Merge branch 'gradio-app:master' into master
2021-11-05 18:12:19 -04:00
Abubakar Abid
1ecbc2f834
Tweaked test inputs
2021-11-04 20:39:11 -05:00
AK391
dcb660b5a2
test update inferface
2021-11-04 19:59:29 -04:00
aliabd
6a643d1bb9
Merge remote-tracking branch 'origin/master' into aliabd/components-tests
2021-11-04 13:09:41 -07:00
aliabd
7f6b7033e1
expanded testing for outputs
2021-11-04 13:07:08 -07:00
Abubakar Abid
d259f3052b
Merge pull request #330 from gradio-app/aliabd/components-tests
...
Tests for component.py, inputs.py and outputs.py
2021-11-04 07:38:18 -05:00
Abubakar Abid
b23d5a6484
examples can handle non-nested list if single input interface
2021-11-04 06:27:18 -05:00
Abubakar Abid
2cfacb1503
fixed failing test
2021-11-04 06:04:44 -05:00
Abubakar Abid
8beae1f982
minor tweaks
2021-11-04 05:53:33 -05:00
AK391
11134eabb5
Merge branch 'gradio-app:master' into master
2021-11-04 00:56:49 -04:00
aliabd
0a2f05d7f3
fixing after merge
2021-11-03 18:30:58 -07:00
Ali Abdalla
7ce37829e0
Merge branch 'master' into aliabd/components-tests
2021-11-03 18:15:39 -07:00
AK391
7fe7672361
changes
2021-11-03 17:30:36 -04:00
aliabd
3ba5775d69
avoiding ffmpeg error
2021-11-03 14:29:10 -07:00
aliabd
18d0bd2d13
expanded testing for inputs
2021-11-03 14:21:51 -07:00
dawoodkhan82
db3f8e549f
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-11-03 17:17:32 -04:00
dawoodkhan82
34a822474e
more processing tests
2021-11-03 17:17:26 -04:00
Abubakar Abid
aa4ae29425
Merge branch 'abidlabs/strings'
2021-11-03 16:09:37 -05:00
Abubakar Abid
459ce2ca2a
added more tests for networking
2021-11-03 16:08:19 -05:00
AK391
f89c4aaca3
Merge branch 'gradio-app:master' into master
2021-11-03 16:51:35 -04:00
Dawood Khan
59a6246310
Add files via upload
2021-11-03 16:27:49 -04:00
Dawood Khan
4908a83621
Delete test_image.gif
2021-11-03 16:27:39 -04:00
Dawood Khan
c8274f45aa
Add files via upload
2021-11-03 16:13:55 -04:00
aliabd
376bf3f138
full coverage on components, fixed flagged makedirs
2021-11-03 11:13:50 -07:00
aliabd
6ccd40c159
added carousel tests
2021-11-02 14:33:18 -07:00
dawoodkhan82
11e563408b
test image path fix
2021-11-02 17:31:10 -04:00
dawoodkhan82
554c020ea1
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-11-02 17:22:58 -04:00
dawoodkhan82
65a5ed5147
utils and external unit tests
2021-11-02 17:22:52 -04:00
aliabd
789f3f9987
full tests for inputs.py
2021-11-02 13:17:35 -07:00
Abubakar Abid
726870d3ab
removed /static test because it requires npm build
2021-11-02 15:08:50 -05:00
Abubakar Abid
bbe64e10cb
fixed test
2021-11-02 14:45:17 -05:00
Abubakar Abid
27a4b4e637
rewrote DefaultFlaggingHandler not to need app
2021-11-01 11:40:51 -05:00
aliabd
f55dd25cdf
added tests for input number, checking coverage
2021-10-29 13:15:05 -07:00
aliabd
c1e290a154
coverage check for Textbox
2021-10-29 12:50:58 -07:00
Ali Abdalla
9bf16c2211
Adding API docs to all interfaces ( #309 )
...
* api view with basic html
* added base docs for raw inputs/outputs
* reading correct url from frontend
* styling
* fill in the blank request snippet
* post a request from docs
* post button and random generator
* styling
* added view the api to interface
* style changes
* corrected input output docs
* prefill with example instead of random
* added curl and javascript syntax
* removed scrollbars
* API doc fixes
* added correct docs to all pre/post processing methods
* updated to new doc style
* live demo with sample inputs
* fixing golden screenshots
* correct timeseries preprocess doc
* correct timeseries preprocess doc
* correct timeseries preprocess doc
* fixed overwrite issue
* remove static from git
* fix merge
* fix tests
* fix tests
* fix tests
Co-authored-by: Ali Abid <you@example.comgit>
2021-10-27 11:49:14 -07:00
Abubakar Abid
f15a033232
added some tests for tunneling
2021-10-27 10:43:34 -05:00
aliabid94
82b6e0586a
Editable audio ( #316 )
...
* add editing buttons
* multirange slider changes
* audio changes
* fix test
Co-authored-by: Ali Abid <you@example.comgit>
2021-10-26 18:26:05 -07:00
AK391
05157b32f5
Merge branch 'gradio-app:master' into master
2021-10-26 19:27:17 -04:00
AK391
a7ba75b85e
updates interface test
2021-10-26 19:26:50 -04:00
Abubakar Abid
6b13238c9d
added interpretation
2021-10-26 17:36:12 -05:00
AK391
403bc1e84a
Merge branch 'gradio-app:master' into master
2021-10-26 18:25:22 -04:00
Abubakar Abid
14f2e46b19
added first round of tests for networking.py
2021-10-26 16:36:11 -05:00
Abubakar Abid
031d7069c4
tests for networkign
2021-10-26 15:57:03 -05:00
Abubakar Abid
708838ff5d
added ipython to testing dependency
2021-10-26 13:28:39 -05:00
Abubakar Abid
2c1ca70af8
Merge branch 'master' of github.com:gradio-app/gradio
2021-10-26 13:20:24 -05:00
Abubakar Abid
44f5600fd5
made ipython tests skipped if not imported
2021-10-26 13:20:18 -05:00
Ali Abid
1507786b4e
fix tests for static pathfunctionality change
2021-10-26 17:07:14 +00:00
Ali Abid
ab5a96ada3
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-10-26 16:58:54 +00:00
Ali Abid
ce57665ffe
fix tests to include node
2021-10-26 16:58:47 +00:00
Abubakar Abid
b96ac29e48
more tests for networking
2021-10-26 07:57:29 -05:00
dawoodkhan82
bcf46b225f
merge
2021-10-25 18:30:44 -04:00
dawoodkhan82
e1b4165eb5
external tests
2021-10-25 18:27:08 -04:00
AK391
3c3a33d3c5
test update inferface
2021-10-25 15:29:55 -04:00
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
aliabd
41251f858b
Merge branch 'master' of github.com:gradio-app/gradio
...
t push# Please enter a commit message to explain why this merge is necessary,
2020-11-04 23:14:26 +04:00
aliabd
b5d49088a1
changed golden to reflect new buttons
2020-11-04 23:14:21 +04:00
Ali Abid
fdfa94b9e7
fix failing tests
2020-11-04 08:57:09 -08:00
aliabd
780091979e
changed golden images for test demos
2020-11-04 20:07:46 +04:00
aliabd
f122bf24bd
fixed image_mod test to match demo
2020-11-04 19:54:55 +04:00
Ali Abid
6eb945f639
support examples for all types; fix failing tests
2020-10-28 11:39:28 -07:00
Ali Abdalla
d4d768e9be
End-to-end UI tests with Selenium ( #72 )
...
* selenium test file
* selenium test
* added save_to as interface attribute, 4 demo tests with selenium
* change name to test_demos
* fixed wait until, removed path insertion
* added selenium to circleci config
* trying chrome driver image
* removing cache from circlci
* using chromedriver_installer
* adding deps for chromedriver
* sudo
* removed chromedriver
* added chromium-chromedriver
* using chromedriver-py
* using service instead of exec path
* using latest selenium
* using browsers image
* added cwd to tmp and test paths
* saving artifacts
* added tmp.txt
* changed driver size
* elem.text sleep
* driver size fix
* saving artifacts
* saving artifacts correctly
* saving artifacts correctly
* saving artifactS
* print statement
* print statement
* print statement
* correct dir
* debugging
* debugging
* debugging
* fixing wonderful
* running comparison
* current dir fix
* changing longest_word
* fixed longest_word
* clean up
* fixing new output label name
* time limit on while loops
* refactoring common code
* removed setUp
* removed server_port declaration from demos
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2020-10-23 18:28:30 +04:00
Ali Abid
0773097c4c
interpretation plus documentation
2020-10-22 05:09:17 -07:00
Abubakar Abid
b3106cb6af
added test for interpretation
2020-10-05 07:43:42 -05:00
Ali Abid
14ba503b77
add testing and flask changes
2020-09-21 11:51:39 -07:00
Ali Abid
799970018a
mid progress
2020-09-17 14:38:22 -07:00
Ali Abid
10c8cf60bf
in progress
2020-09-15 05:16:14 -07:00
dawoodkhan82
f626f79b21
merge
2020-08-11 11:44:33 -04:00
Ali Abid
3f95aaeb29
tests
2020-08-10 13:52:43 -07:00
dawoodkhan82
651f5dfb0b
disable analytics on tests
2020-08-10 12:27:29 -04:00
Ali Abid
f4cc598c6e
big changes
2020-08-05 10:42:52 -07:00
Abubakar Abid
924cb0e1be
fixed broken tests
2020-07-08 17:02:17 -05:00
Abubakar Abid
a1a2096a74
added detailed explanations of what each output expects along with relevant tests
2020-07-07 00:51:07 -05:00
dawoodkhan82
3fe9f0ae1c
test fixes
2020-07-01 20:34:51 -04:00
Abubakar Abid
773c30ca2d
fixed networking issue
2020-07-01 11:51:36 -05:00
dawoodkhan82
6376de175d
test fixes
2020-06-30 19:11:35 -04:00
dawoodkhan82
ee5a9df55f
unit test fixes
2020-06-11 15:31:44 -04:00
Ali Abid
ef0caef720
cleanup and new API
2020-06-09 17:00:30 -07:00
Abubakar Abid
b19102a775
fixed test
2019-07-26 02:35:00 -07:00
dawoodkhan82
afa1944570
fix unit test, remove h5 files
2019-07-24 01:34:10 -07:00
dawoodkhan82
53b194f755
check for sample inputs func and add unit test
2019-07-23 14:40:05 -07:00
Abubakar Abid
3ec603afff
fixed failing sketchpad validation test
2019-07-21 18:46:00 -07:00