From e0f62649c44f546c1399b0c5a03f2f46bc32eb24 Mon Sep 17 00:00:00 2001 From: PWhiddy Date: Thu, 12 Jan 2023 00:16:57 -0500 Subject: [PATCH] fix typos --- README.md | 2 +- test/index.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21a3ac6..f6d6859 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ An easy to use image generation API ### Install: ```npm i computerender``` -### Usage: +### Usage: ```javascript import fs from "fs"; import {Computerender} from "computerender"; diff --git a/test/index.test.ts b/test/index.test.ts index 74e6ebd..becd914 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -29,7 +29,7 @@ describe("should", () => { const prompt = "a cow wearing sunglasses"; const result = await cr.generateImage({prompt}); fs.writeFileSync(prompt + ".jpg", result); - const newPrompt = "van gough style painting of " + prompt; + const newPrompt = "van gogh style painting of " + prompt; const img = result; // "oh baby"; // result.imageData.toString("base64"); const styledResult = await cr.generateImage({prompt: newPrompt, img}); fs.writeFileSync(newPrompt + ".jpg", styledResult);