File size: 487 Bytes
f33fad2
 
 
 
 
 
8969f81
f33fad2
 
 
8969f81
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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`