jbilcke-hf/webapp-factory-any-model
9
A basic demo of generating HTML content using the Hugging Face Inference API
This version can use any model from the Hugging Face Inference API.
Ready to be used in a Hugging Face Space.
Examples
http://localhost:7860/?prompt=A%20simple%20page%20to%20compute%20the%20BMI%20(use%20SI%20units)Installation
Building and run without Docker
nvm use
npm i
npm run startBuilding and running with Docker
npm run dockerThis script is a shortcut executing the following commands:
docker build -t webapp-factory-any-model .
docker run -it -p 7860:7860 webapp-factory-any-model