Spaces:
Running
Running
yasir
commited on
Update script.js
Browse files
script.js
CHANGED
@@ -114,7 +114,7 @@ await fetch('https://l-d83c.onrender.com/generate', {
|
|
114 |
|
115 |
|
116 |
|
117 |
-
let url2 = 'https://
|
118 |
let idlist = []
|
119 |
url = 'https://flask-hello-world-murex-sigma.vercel.app/predict'
|
120 |
var selectElement = document.getElementById("model");
|
@@ -153,7 +153,7 @@ await fetch('https://l-d83c.onrender.com/generate', {
|
|
153 |
}
|
154 |
if(selectedOption.value == 'focus'){
|
155 |
url = 'https://flask-hello-world-murex-sigma.vercel.app/focus'
|
156 |
-
url2 = 'https://
|
157 |
isf = true
|
158 |
}
|
159 |
}
|
|
|
114 |
|
115 |
|
116 |
|
117 |
+
let url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/get_prediction'
|
118 |
let idlist = []
|
119 |
url = 'https://flask-hello-world-murex-sigma.vercel.app/predict'
|
120 |
var selectElement = document.getElementById("model");
|
|
|
153 |
}
|
154 |
if(selectedOption.value == 'focus'){
|
155 |
url = 'https://flask-hello-world-murex-sigma.vercel.app/focus'
|
156 |
+
url2 = 'https://hacking-is-serious-illegal-crime-you.onrender.com/foocus'
|
157 |
isf = true
|
158 |
}
|
159 |
}
|