Enable the Gradio server to call inference services through the RESTful API (#287)
* app use async engine
* add stop logic
* app update cancel
* app support restful-api
* update doc and use the right model name
* set doc url root
* add comments
* add an example
* renew_session
* update readme.md
* resolve comments
* Update restful_api.md
* Update restful_api.md
* Update restful_api.md
---------
Co-authored-by:
tpoisonooo <khj.application@aliyun.com>
Showing
This diff is collapsed.
| ... | @@ -9,6 +9,7 @@ pybind11 | ... | @@ -9,6 +9,7 @@ pybind11 |
| safetensors | safetensors | ||
| sentencepiece | sentencepiece | ||
| setuptools | setuptools | ||
| shortuuid | |||
| tiktoken | tiktoken | ||
| torch | torch | ||
| transformers | transformers | ||
| ... | ... |
Please register or sign in to comment