randydev commited on
Commit
235ac5c
·
verified ·
1 Parent(s): 9769a1f

Update fluxai.js

Browse files
Files changed (1) hide show
  1. fluxai.js +2 -2
fluxai.js CHANGED
@@ -9,9 +9,9 @@ if (!config.HUGGING_TOKEN) {
9
  * @param {string} args - The input string
10
  */
11
  async function schellwithflux(args) {
12
- const API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell";
13
  try {
14
- const response = await fetch(API_URL, {
15
  method: "POST",
16
  headers: {
17
  "Authorization": `Bearer ${config.HUGGING_TOKEN}`,
 
9
  * @param {string} args - The input string
10
  */
11
  async function schellwithflux(args) {
12
+ const EncodeBaseUrl = "aHR0cHM6Ly9hcGktaW5mZXJlbmNlLmh1Z2dpbmdmYWNlLmNvL21vZGVscy9ibGFjay1mb3Jlc3QtbGFicy9GTFVYLjEtc2NobmVsbA==";
13
  try {
14
+ const response = await fetch(atob(EncodeBaseUrl), {
15
  method: "POST",
16
  headers: {
17
  "Authorization": `Bearer ${config.HUGGING_TOKEN}`,