Commit Graph

33 Commits

Author SHA1 Message Date
aliabd
789f3f9987 full tests for inputs.py 2021-11-02 13:17:35 -07: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
cf9d179794 fixed output component issues causing tests to fail 2021-10-22 07:07:24 -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
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
dawoodkhan82
a1053e9a9f hugging face interfaces + unittests 2021-05-20 14:43:26 -04:00
Ali Abid
c48abe3161 fix tests for multiple file input 2021-04-26 08:19:24 -07:00
Ali Abid
cd09471b77 fix failing tests 2020-12-21 07:55:52 -08:00
Ali Abid
6eb945f639 support examples for all types; fix failing tests 2020-10-28 11:39:28 -07: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
Ali Abid
3f95aaeb29 tests 2020-08-10 13:52:43 -07:00
Ali Abid
f4cc598c6e big changes 2020-08-05 10:42:52 -07:00
dawoodkhan82
3fe9f0ae1c test fixes 2020-07-01 20:34:51 -04: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
Abubakar Abid
3ec603afff fixed failing sketchpad validation test 2019-07-21 18:46:00 -07:00
dawoodkhan82
019c3bc9c8 more fixes 2019-06-19 12:03:54 -07:00
dawoodkhan82
a2e5f35553 more fixes 2019-06-18 13:23:01 -07:00
dawoodkhan82
5d6c68c783 fix unit tests 2019-06-18 13:13:50 -07:00
dawoodkhan82
b227ed3a6b unit tests 2019-06-14 05:13:13 -04:00
Abubakar Abid
57f29f0dac refactored inputs.py to support js and template rendering 2019-03-18 05:24:25 -07:00
Abubakar Abid
757eae6fd2 gradio 0.3.3 2019-03-09 18:05:30 -08:00
Abubakar Abid
5a4bab3a8d added ability to accept preprocessing arguments in some input intraces + tests 2019-03-05 22:51:36 -08:00
Abubakar Abid
a3516c331b fixed file copy; added confidences to class label interface 2019-03-05 22:34:59 -08:00
Abubakar Abid
6d91825899 reorganized files to clean up interface.py 2019-02-27 21:39:18 -08:00
Abubakar Abid
a8034f5e99 added tests for outputs 2019-02-27 16:54:08 -08:00
Abubakar Abid
7216c53c43 added unittests for inputs.py 2019-02-27 16:43:20 -08:00