Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
PWhiddy committed Jan 12, 2023
1 parent 1f4279c commit e0f6264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e0f6264

Please sign in to comment.