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