From 1446e5b38e6d79675c5a6cfcc786d4f52a66e6dc Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Mon, 5 Dec 2022 17:12:36 -0600 Subject: [PATCH] docs: update readme for demo --- legacy/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/readme.md b/legacy/readme.md index 9fd13a6d..0e1fc6e6 100644 --- a/legacy/readme.md +++ b/legacy/readme.md @@ -60,14 +60,14 @@ const api = new ChatGPTAPI({ }) ``` -A full [example](./src/example.ts) is included for testing purposes: +A full [demo](./demo.ts) is included for testing purposes: ```bash # 1. clone repo # 2. install node deps # 3. set `SESSION_TOKEN` in .env # 4. run: -npx tsx src/example.ts +npx tsx demo.ts ``` ## Docs