Multi-language Deployment
Overview¶
- Supports multiple languages; configure the language and other inference parameters through API arguments.
- Displays results with canvas to reduce backend processing and API data transfer.
- Adds token validation to the inference API.
- Includes a PyInstaller packaging script to simplify installation.
- Example package: PyInstaller demo
Installation¶
-
Clone the project:
-
Install the runtime environment:
Run¶
-
Download the
modelsdirectory into the current directory.- Download: Baidu Netdisk | Google Drive
-
The final directory structure is:
-
Run
main.py: -
Open http://127.0.0.1:8001. Enjoy!
