Skip to content

Commit

Permalink
Added threshold and perplexity values
Browse files Browse the repository at this point in the history
  • Loading branch information
durner committed Jan 15, 2024
1 parent bca3a12 commit bd855e4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions trace_explorer/web-templates/compare.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
excludedColumns: [],
legends: [],
oldView: undefined,
threshold: 20,
threshold: 50,
perplexity: 30,
iterations: 2000,
inflight: false,
Expand Down Expand Up @@ -181,11 +181,11 @@
x-model="threshold"
class="flex-grow text-sm"
id="threshold-slider"
step="0.01"
min="0.01"
max="50"
value="20">
<input type="number" id="threshold-value"
step="0.1"
min="0.1"
max="100"
value="50">
<input type="number" id="threshold-value" step="0.1"
class="w-16 h-6 p-1 border border-black flex items-center text-sm appearance-none"
x-model="threshold">
</div>
Expand All @@ -197,11 +197,11 @@
id="perplexity-slider"
x-model="perplexity"
class="flex-grow text-sm"
step="0.01"
min="0.01"
step="0.1"
min="0.1"
max="100"
value="30">
<input type="number" id="perplexity-value"
<input type="number" id="perplexity-value" step="0.1"
class="w-16 h-6 p-1 border border-black flex items-center text-sm appearance-none"
x-model="perplexity">
</div>
Expand Down Expand Up @@ -355,4 +355,4 @@ <h3 class="text-md font-medium p-2">Legend</h3>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
20 changes: 10 additions & 10 deletions trace_explorer/web-templates/visualize.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
excludedColumns: [],
clusters: [],
excludedClusters: [],
threshold: 20,
threshold: 50,
perplexity: 30,
iterations: 2000,
inflight: false,
Expand Down Expand Up @@ -175,11 +175,11 @@
x-model="threshold"
class="flex-grow text-sm"
id="threshold-slider"
step="0.01"
min="0.01"
max="50"
value="20">
<input type="number" id="threshold-value"
step="0.1"
min="0.1"
max="100"
value="50">
<input type="number" id="threshold-value" step="0.1"
class="w-16 h-6 p-1 border border-black flex items-center text-sm"
x-model="threshold">
</div>
Expand All @@ -191,11 +191,11 @@
id="perplexity-slider"
x-model="perplexity"
class="flex-grow text-sm"
step="0.01"
min="0.01"
step="0.1"
min="0.1"
max="100"
value="30">
<input type="number" id="perplexity-value"
<input type="number" id="perplexity-value" step="0.1"
class="w-16 h-6 p-1 border border-black flex items-center text-sm"
x-model="perplexity">
</div>
Expand Down Expand Up @@ -351,4 +351,4 @@ <h3 class="text-md font-medium p-2">Legend</h3>
</div>
</div>
</div>
{% endblock %}
{% endblock %}

0 comments on commit bd855e4

Please sign in to comment.