yasir commited on
Commit
5563b3f
·
verified ·
1 Parent(s): b0ff3bb

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +7 -7
script.js CHANGED
@@ -126,7 +126,7 @@ console.error('Error:', error);
126
 
127
 
128
  //https://hacking-is-serious-illegal-crime-you.onrender.com/sdxl
129
- let url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
130
  let idlist = []
131
  url = 'https://flask-hello-world-murex-sigma.vercel.app/predict'
132
  var selectElement = document.getElementById("model");
@@ -172,34 +172,34 @@ if (selectedIndex === -1) {
172
  }
173
  if(selectedOption.value == 'cas'){
174
  url = 'https://flask-hello-world-murex-sigma.vercel.app/cascade'
175
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/cascade'
176
  isc = true
177
  isreal = false
178
  }
179
  if(selectedOption.value == 'w'){
180
  url = 'https://flask-hello-world-murex-sigma.vercel.app/w'
181
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
182
  isreal = false
183
  }
184
  if(selectedOption.value == 'k'){
185
  url = 'https://flask-hello-world-murex-sigma.vercel.app/k'
186
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
187
  isreal = false
188
 
189
  }
190
  if(selectedOption.value == 'op'){
191
  url = 'https://flask-hello-world-murex-sigma.vercel.app/op'
192
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
193
  isreal = false
194
  }
195
  if(selectedOption.value == 'p3'){
196
  url = 'https://flask-hello-world-murex-sigma.vercel.app/p3'
197
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
198
  isreal = false
199
  }
200
  if(selectedOption.value == 'emo'){
201
  url = 'https://flask-hello-world-murex-sigma.vercel.app/emo'
202
- url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
203
  isreal = false
204
  }
205
  if(selectedOption.value == 'real'){
 
126
 
127
 
128
  //https://hacking-is-serious-illegal-crime-you.onrender.com/sdxl
129
+ let url2 = 'https://freak-jnh7.onrender.com/get_prediction'
130
  let idlist = []
131
  url = 'https://flask-hello-world-murex-sigma.vercel.app/predict'
132
  var selectElement = document.getElementById("model");
 
172
  }
173
  if(selectedOption.value == 'cas'){
174
  url = 'https://flask-hello-world-murex-sigma.vercel.app/cascade'
175
+ url2 = 'https://freak-jnh7.onrender.com/cascade'
176
  isc = true
177
  isreal = false
178
  }
179
  if(selectedOption.value == 'w'){
180
  url = 'https://flask-hello-world-murex-sigma.vercel.app/w'
181
+ url2 = 'https://freak-jnh7.onrender.com/get_prediction'
182
  isreal = false
183
  }
184
  if(selectedOption.value == 'k'){
185
  url = 'https://flask-hello-world-murex-sigma.vercel.app/k'
186
+ url2 = 'https://freak-jnh7.onrender.com/get_prediction'
187
  isreal = false
188
 
189
  }
190
  if(selectedOption.value == 'op'){
191
  url = 'https://flask-hello-world-murex-sigma.vercel.app/op'
192
+ url2 = 'https://freak-jnh7.onrender.com/get_prediction'
193
  isreal = false
194
  }
195
  if(selectedOption.value == 'p3'){
196
  url = 'https://flask-hello-world-murex-sigma.vercel.app/p3'
197
+ url2 = 'https://freak-jnh7.onrender.com/get_prediction'
198
  isreal = false
199
  }
200
  if(selectedOption.value == 'emo'){
201
  url = 'https://flask-hello-world-murex-sigma.vercel.app/emo'
202
+ url2 = 'https://freak-jnh7.onrender.com/get_prediction'
203
  isreal = false
204
  }
205
  if(selectedOption.value == 'real'){