randydev commited on
Commit
1b65bec
·
verified ·
1 Parent(s): 4c0098a

Update lib/@randydev/flux-1-schnell.js

Browse files
Files changed (1) hide show
  1. lib/@randydev/flux-1-schnell.js +3 -1
lib/@randydev/flux-1-schnell.js CHANGED
@@ -6,7 +6,9 @@ async function FluxSchnell(message) {
6
  'Authorization': `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
7
  'Content-Type': 'application/json'
8
  },
9
- json: {'prompt': message};
 
 
10
  }).json();
11
  return run.result.response;
12
  }
 
6
  'Authorization': `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
7
  'Content-Type': 'application/json'
8
  },
9
+ json: {
10
+ 'prompt': message
11
+ }
12
  }).json();
13
  return run.result.response;
14
  }