Commit Graph

2531 Commits

Author SHA1 Message Date
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
Abubakar Abid
32ada31745
Update README.md 2021-10-26 22:14:30 -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
Abubakar Abid
966a30ada7 added shap 2021-10-26 17:47:49 -05:00
Abubakar Abid
6b13238c9d added interpretation 2021-10-26 17:36:12 -05:00
Abubakar Abid
14f2e46b19 added first round of tests for networking.py 2021-10-26 16:36:11 -05:00
Abubakar Abid
bdf866de88 Merge branch 'master' of github.com:gradio-app/gradio 2021-10-26 15:57:07 -05:00
Abubakar Abid
031d7069c4 tests for networkign 2021-10-26 15:57:03 -05:00
dawoodkhan82
5c4b1b9052 Merge branch 'master' of https://github.com/gradio-app/gradio 2021-10-26 15:22:23 -04:00
dawoodkhan82
8e9fbbbdfa fix error traceback 2021-10-26 15:22:03 -04: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
c0a146b717 fix show_error 2021-10-26 06:44:38 -04:00
dawoodkhan82
bcf46b225f merge 2021-10-25 18:30:44 -04:00
dawoodkhan82
e1b4165eb5 external tests 2021-10-25 18:27:08 -04:00
Ali Abid
e55c210791 Merge branch 'master' of https://github.com/gradio-app/gradio 2021-10-25 20:41:09 +00:00
Ali Abid
55409a8b2b fix tests; support node frontend building 2021-10-25 20:41:03 +00: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
Abubakar Abid
dceb37ed63 added traceback 2021-10-24 03:22:17 -05:00
aliabd
bbb18a3654 Merge branch 'master' of https://github.com/gradio-app/gradio 2021-10-22 16:38:19 -07:00
aliabd
c3d579b467 fixed img api issue 2021-10-22 16:37:21 -07:00
Ali Abdalla
356dd8812f
testing without optional 2021-10-22 15:23:30 -07: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
Abubakar Abid
7653888c09
Merge pull request #307 from AK391/master
update test_utils
2021-10-21 16:40:38 -05:00
Abubakar Abid
62c7483776
Update utils.py 2021-10-21 16:40:13 -05:00
AK391
6608a4042f test changes 2021-10-21 17:30:32 -04:00
Dawood Khan
65c4924f9e
Merge pull request #308 from gradio-app/abidlabs/errors
Piping errors
2021-10-21 16:50:53 -04:00
Dawood Khan
8f18b5abbe
Merge branch 'master' into abidlabs/errors 2021-10-21 16:50:38 -04:00
Abubakar Abid
8ee71ce5d7 started tests 2021-10-21 15:02:52 -05:00
Charles Bensimon
f26f2142ef
[HF Spaces] Darktheme from URL params (#306)
* [HF Spaces] Darktheme from URL params

* white text for dark theme title, description, and article

Co-authored-by: Ali Abid <ali.abid@gradio.app>
2021-10-20 15:16:09 -07: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
fa3cb474e9 implemented deserialization 2021-10-19 03:04:17 -05:00
Abubakar Abid
47b9cd9e1f implementing output deserialization 2021-10-19 01:07:23 -05:00
Abubakar Abid
3e9e861184 implemented input serialization 2021-10-19 00:59:28 -05:00
dawoodkhan82
67037adcba add show_error flag 2021-10-18 14:50:28 -04:00