* 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>
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>