Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix: reset toggle on reload (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
makram93 authored Oct 20, 2021
1 parent 838ebe3 commit 1e07e34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ Learn more about {term}`Tailor`, {term}`Tuner` and {term}`Labeler`.
</div>
<script>
function init() {
document.getElementById('embed_model_yes').click();
document.getElementById('labeled_yes').click()
}
window.onload = init;
function myfunction(event) {
const answer = document.querySelector('input[name="embed_model"]:checked').value +document.querySelector('input[name="labeled"]:checked').value;
document.querySelectorAll(".usage-card").forEach((input) => {
Expand Down

0 comments on commit 1e07e34

Please sign in to comment.