Skip to content

Commit

Permalink
Update functional-samples/ai.gemini-on-device/sidepanel/index.js
Browse files Browse the repository at this point in the history
Update maxTemperature

Co-authored-by: Thomas Steiner <[email protected]>
  • Loading branch information
sebastianbenz and tomayac authored Nov 8, 2024
1 parent 2ce97f8 commit ea0e2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functional-samples/ai.gemini-on-device/sidepanel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ async function initDefaults() {
return;
}
sliderTemperature.value = defaults.defaultTemperature;
// sliderTemperature.max = defaults.maxTemperature;
// Pending https://issues.chromium.org/issues/367771112.
sliderTopK.value = defaults.defaultTopK;
sliderTopK.max = defaults.maxTopK;
labelTopK.textContent = defaults.defaultTopK;
Expand Down

0 comments on commit ea0e2ff

Please sign in to comment.