jbilcke-hf's picture
jbilcke-hf HF Staff
small update
3dbd65d
|
raw
history blame
728 Bytes
metadata
title: Webapp Factory (any model)
emoji: 🏭
colorFrom: brown
colorTo: red
sdk: docker
pinned: false
app_port: 7860

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%20hello%20world%20page

Installation

Building and run without Docker

nvm use
npm i
npm run start

Building and running with Docker

npm run docker

This 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