Skip to content

Commit

Permalink
Merge pull request #173 from erictik/zcpua-patch-1
Browse files Browse the repository at this point in the history
Update imagine-ws.ts
  • Loading branch information
zcpua authored Jul 6, 2023
2 parents ffff725 + 8a03d2a commit c0b1cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/imagine-ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ async function main() {
SalaiToken: <string>process.env.SALAI_TOKEN,
HuggingFaceToken: <string>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) => {
Expand Down

0 comments on commit c0b1cc9

Please sign in to comment.