XciD's picture
XciD HF staff
initial commit
8969f81
---
title: Transformer Autocomplete
emoji: πŸ†
colorFrom: green
colorTo: gray
sdk: docker
app_port: 8080
pinned: false
---
# transformer-autocomplete
Autocompletion based on GPT-2
#### How to compile the front (to test the front with any server)
1. Update the API endpoint in `front/js-src/Api.ts`
2. compile the TS to pure JS with `cd front; tsc` or through vscode (you can launch it in watch mode if needed)
3. pack the js into a single file (we use rollup) with `npm run watch`