From 8a03d2afae87d07e3da47a69f92c9a9b07959ea4 Mon Sep 17 00:00:00 2001 From: Eric Heyden <34678575+zcpua@users.noreply.github.com> Date: Thu, 6 Jul 2023 19:57:11 +0800 Subject: [PATCH] Update imagine-ws.ts --- example/imagine-ws.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/imagine-ws.ts b/example/imagine-ws.ts index cdc0d87..ac97b41 100644 --- a/example/imagine-ws.ts +++ b/example/imagine-ws.ts @@ -14,9 +14,9 @@ async function main() { SalaiToken: process.env.SALAI_TOKEN, HuggingFaceToken: process.env.HUGGINGFACE_TOKEN, Debug: true, - Ws: true, + Ws: true, // required `Only you can see this` }); - await client.Connect(); + await client.Connect(); // required const Imagine = await client.Imagine( "Red hamster smoking a cigaret, https://media.discordapp.net/attachments/1108515696385720410/1118385339732590682/DanielH_A_giant_hamster_monster._Friendly_in_a_business_suit_si_d4be1836-a4e1-41a8-b1d7-99eebc521220.png?width=1878&height=1878 ", (uri: string, progress: string) => {