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
Pradyumna Rahul
a25eaee1ec
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
Julien Chaumond
7ca7840fd6
Add some pipeline types from huggingface ( #267 )
...
* more complete kitchen_sink
* use response.json() ?
* Add `feature-extraction` and `sentence-similarity`
* Add `text-to-speech` and `text-to-image`
2021-09-02 14:01:28 -07:00
Julien Chaumond
ce958c2984
Add some pipeline types from huggingface ( #267 )
...
* more complete kitchen_sink
* use response.json() ?
* Add `feature-extraction` and `sentence-similarity`
* Add `text-to-speech` and `text-to-image`
2021-09-02 14:01:28 -07:00
Ali Abid
b9310739d9
fix tests
2021-09-01 22:26:00 +00:00
Ali Abid
5046b39b2b
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
bbd6e29b65
fix tests
2021-09-01 22:21:32 +00:00
root
fffe173c6a
fix demo
2021-09-01 21:54:46 +00:00
root
ae3a7320e5
fix demo
2021-09-01 21:54:46 +00:00
root
811643f3d5
updated PyPi version
2021-09-01 21:52:20 +00:00
root
efb8ebb1cf
updated PyPi version
2021-09-01 21:52:20 +00:00
Ali Abid
e52fc1d58f
fix tests
2021-08-30 19:27:36 +00:00
Ali Abid
9b86f85b4c
fix tests
2021-08-30 19:27:36 +00:00
root
d9a772ee95
updated PyPi version
2021-08-30 19:22:12 +00:00
root
4862f4b3ad
updated PyPi version
2021-08-30 19:22:12 +00:00
Ali Abid
a64d08453b
test fix
2021-08-25 21:42:45 +00:00
Ali Abid
07a6bd8639
test fix
2021-08-25 21:42:45 +00:00
Ali Abid
2d27caba81
updated readme
2021-08-25 21:25:53 +00:00
Ali Abid
af0bb09d90
updated readme
2021-08-25 21:25:53 +00:00
Ali Abid
961368131c
updated screenshots
2021-08-25 14:08:37 -07:00
Ali Abid
a958dd58a2
updated screenshots
2021-08-25 14:08:37 -07:00
root
c6b196e21b
updated PyPi version
2021-08-24 19:37:09 +00:00
root
c163af9361
updated PyPi version
2021-08-24 19:37:09 +00:00
Ali Abid
08daabbf55
support embeded configs
2021-08-24 19:32:02 +00:00
Ali Abid
72d4e01a39
support embeded configs
2021-08-24 19:32:02 +00:00
root
f9719fbca2
updated PyPi version
2021-08-18 22:44:56 +00:00
root
9bef448c9f
updated PyPi version
2021-08-18 22:44:56 +00:00
root
5ecd27cca8
updated PyPi version
2021-08-17 20:42:07 +00:00
root
fc3e151fdd
updated PyPi version
2021-08-17 20:42:07 +00:00
Ali Abid
6bcb9b4dd4
fix tests
2021-08-17 18:45:17 +00:00
Ali Abid
4e1b0a6158
fix tests
2021-08-17 18:45:17 +00:00
Ali Abid
a78635aff3
fix tests
2021-08-17 18:42:30 +00:00
Ali Abid
ada6488a05
fix tests
2021-08-17 18:42:30 +00:00
root
ce5f9bb4ea
updated PyPi version
2021-08-17 02:35:30 +00:00
root
957151df4b
updated PyPi version
2021-08-17 02:35:30 +00:00
Ali Abid
0c6b3d6766
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-08-16 21:59:05 +00:00
Ali Abid
7fce4a1ea7
Merge branch 'master' of https://github.com/gradio-app/gradio
2021-08-16 21:59:05 +00:00
root
c36554b2fd
updated PyPi version
2021-08-16 21:58:30 +00:00
root
998a5fb156
updated PyPi version
2021-08-16 21:58:30 +00:00
dawoodkhan82
bc0592dd84
analytics url fix
2021-08-12 16:55:42 -04:00
dawoodkhan82
08a9b10359
analytics url fix
2021-08-12 16:55:42 -04:00
dawoodkhan82
0705d743d2
more analytics
2021-08-11 17:32:12 -04:00
dawoodkhan82
7f433f1371
more analytics
2021-08-11 17:32:12 -04:00
Ali Abid
54161827e0
make gitignore changes and test fix
2021-08-11 18:44:35 +00:00
Ali Abid
076db7eaea
make gitignore changes and test fix
2021-08-11 18:44:35 +00:00
Ali Abid
d0edd2e7f0
make gitignore changes and test fix
2021-08-11 18:39:32 +00:00
Ali Abid
e8ad7dc552
make gitignore changes and test fix
2021-08-11 18:39:32 +00:00
Ali Abid
667fe99a9a
make gitignore changes and test fix
2021-08-11 18:31:37 +00:00
Ali Abid
a026806b43
make gitignore changes and test fix
2021-08-11 18:31:37 +00:00