Shinhati2023 commited on
Commit
eb6b240
·
verified ·
1 Parent(s): 276146c

Delete script.json

Browse files
Files changed (1) hide show
  1. script.json +0 -19
script.json DELETED
@@ -1,19 +0,0 @@
1
- fetch(
2
- "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl,
3
- {
4
- method: "POST",
5
- headers: {
6
- "content-type": "application/json",
7
- },
8
- body: JSON.stringify({
9
- inputs:
10
- "award winning high resolution photo of a giant tortoise/((ladybird)) hybrid, [trending on artstation]",
11
- negative_prompt: "blurry,ugly hands, ugly legs, ugly fingers, malformed hands, low resolution image"
12
- }),
13
- }
14
- )
15
- .then((res) => res.blob())
16
- .then((blob) => {
17
- const tab = window.open((target = "_blank"));
18
- tab.location.href = window.URL.createObjectURL(blob);
19
- });