huggingface / hfapi

Simple Python client for the Hugging Face Inference API
https://huggingface.co/models
MIT License
69 stars 10 forks source link

template for README generation #6

Open sumanthratna opened 4 years ago

sumanthratna commented 4 years ago

Currently, in the highly unlikely chance that the models return markdown instead of "raw text", the output in the generated README will be affected. One way to address this would be to use a template (like Jinja2) and then escape the model outputs.

I may be able to contribute a PR.