Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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