Spaces:
Sleeping
Sleeping
Update templates/inference.html
Browse files- templates/inference.html +2 -2
templates/inference.html
CHANGED
|
@@ -93,8 +93,8 @@
|
|
| 93 |
const errorAlert = document.getElementById('errorAlert');
|
| 94 |
const inputModel = document.getElementById('inputModel').value;
|
| 95 |
const hfToken = document.getElementById('hfToken');
|
| 96 |
-
const temperature = document.getElementById('temperature');
|
| 97 |
-
const topk = document.getElementById('topk');
|
| 98 |
console.log(model)
|
| 99 |
if (model === 'custom') {
|
| 100 |
modelOut = inputModel;
|
|
|
|
| 93 |
const errorAlert = document.getElementById('errorAlert');
|
| 94 |
const inputModel = document.getElementById('inputModel').value;
|
| 95 |
const hfToken = document.getElementById('hfToken');
|
| 96 |
+
const temperature = document.getElementById('temperature').value;
|
| 97 |
+
const topk = document.getElementById('topk').value;
|
| 98 |
console.log(model)
|
| 99 |
if (model === 'custom') {
|
| 100 |
modelOut = inputModel;
|