Spaces:
Running
Running
title: Space Factory | |
emoji: π§βπ»π¦ | |
colorFrom: blue | |
colorTo: yellow | |
sdk: docker | |
pinned: false | |
app_port: 7860 | |
Generate Hugging Face Spaces using CodeLlama 34b | |
# Examples | |
## Local prompt examples | |
``` | |
http://localhost:7860/?prompt=A%20simple%20page%20to%20compute%20the%20BMI%20(use%20SI%20units) | |
``` | |
# Installation | |
## Building and run without Docker | |
```bash | |
nvm use | |
npm i | |
HF_API_TOKEN=******* npm run start | |
``` | |
## Building and running with Docker | |
```bash | |
npm run docker | |
``` | |
This script is a shortcut executing the following commands: | |
```bash | |
docker build -t space-factory . | |
docker run -it -p 7860:7860 space-factory | |
``` | |