Shinhati2023 commited on
Commit
341eeb0
·
verified ·
1 Parent(s): c5a0f75

Upload 2 files

Browse files
Files changed (2) hide show
  1. fix_hands.pt.zip +3 -0
  2. script.json +19 -0
fix_hands.pt.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d98c4828468c8d5831c439f49914672710f63219a561b191670fa54d542fa57b
3
+ size 9131883
script.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ });