broadfield-dev commited on
Commit
05bad08
·
verified ·
1 Parent(s): d135050

Update templates/inference.html

Browse files
Files changed (1) hide show
  1. 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;