Repo templating for Gradio demos using the cookiecutter utility.
Template Name | Description |
---|---|
1. Standard | Basic input-output template. |
2. Sagemaker | Sagemaker endpoint template. |
3. Multiner | Named Entity Recognition (NER) template. |
python3 -m venv venv
source venv/bin/activate
pip install cookiecutter
cookiecutter https://github.com/langtech-bsc/gradio-template
make deploy
pip install -r requirements.txt
python {{cookiecutter.script_name}}.py
MAX_INPUT_CHARACTERS= 2000
SHOW_MODEL_PARAMETERS_IN_UI = "True"
Open http://127.0.0.1:7860 in your browser (or the url that prints the {{cookiecutter.script_name}}.py program when executed)
This project is distributed under the Apache-2.0 license. See the LICENSE file for more information.