xyplon commited on
Commit
5454603
·
verified ·
1 Parent(s): 613ce5f

Update static/models.js

Browse files
Files changed (1) hide show
  1. static/models.js +2 -2
static/models.js CHANGED
@@ -121,7 +121,7 @@ function log(msg){
121
 
122
  let task = 0
123
  btn.onclick = async () => {
124
- if(task>6){
125
  alert("only 4 concurrent image generation is allowed, please wait for pending generations to finish ")
126
  return
127
  }
@@ -156,7 +156,7 @@ btn.onclick = async () => {
156
  text.innerText = ''
157
 
158
  try {
159
- const response = await fetch('https://xyplon.onrender.com/hf/img/gen', {
160
  method: 'POST',
161
  headers: {
162
  'Content-Type': 'application/json',
 
121
 
122
  let task = 0
123
  btn.onclick = async () => {
124
+ if(task>4){
125
  alert("only 4 concurrent image generation is allowed, please wait for pending generations to finish ")
126
  return
127
  }
 
156
  text.innerText = ''
157
 
158
  try {
159
+ const response = await fetch('https://xyplon.koyeb.app/hf/img/gen', {
160
  method: 'POST',
161
  headers: {
162
  'Content-Type': 'application/json',