Skip to content

Commit

Permalink
Add tools radio button and tighten y-spacing #30
Browse files Browse the repository at this point in the history
  • Loading branch information
juberti authored Jul 19, 2024
1 parent 047abd1 commit d73de96
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
curl -f -X POST "https://ai-benchmarks.fly.dev/bench?mode=audio&max_tokens=20&num_requests=1"
# Run the benchmarks
regions=("sea" "iad" "cdg")
media=("text" "image" "audio")
media=("text" "tools" "image" "audio")
for region in "${regions[@]}"; do
for medium in "${media[@]}"; do
curl -f -X POST "https://ai-benchmarks.fly.dev/bench?mode=$medium&max_tokens=20&spread=30&store" -H "fly-prefer-region: $region"
Expand Down
13 changes: 11 additions & 2 deletions website/src/components/DataGrid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import "ag-grid-community/styles/ag-theme-quartz.css";
<div class="flex flex-col">
<label for="regionSelector" class="text-base font-bold">Region</label>
<label class="text-base font-bold">===============</label>
<div id="regionSelector" class="my-4">
<div id="regionSelector" class="mb-4">
<div>
<input
type="radio"
Expand Down Expand Up @@ -76,7 +76,7 @@ import "ag-grid-community/styles/ag-theme-quartz.css";
<div class="ml-8 flex flex-col">
<label for="mediaSelector" class="text-base font-bold">Prompt Type</label>
<label class="text-base font-bold">===============</label>
<div id="mediaSelector" class="my-4">
<div id="mediaSelector" class="mb-4">
<div>
<input
type="radio"
Expand All @@ -87,6 +87,15 @@ import "ag-grid-community/styles/ag-theme-quartz.css";
/>
<label for="textMediaSelector">Text</label>
</div>
<div>
<input
type="radio"
id="toolsMediaSelector"
name="selectedMedia"
value="tools"
/>
<label for="toolsMediaSelector">Function</label>
</div>
<div>
<input
type="radio"
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Section from "./Section.astro";
reliable measurements for the performance of popular models.
</p>
<p class="mt-4">
You can filter using the hamburger menu in a column header, e.g.,
You can filter models using the text fields in the header, e.g.,
<a class="underline hover:text-orange-600" href="?mf=llama-3-70b"
>Llama 3 70B providers</a
>,
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Section.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
---

<div class="mx-auto w-full max-w-screen-lg px-4 py-4">
<div class="mx-auto w-full max-w-screen-lg px-4 pt-4">
<slot />
</div>

0 comments on commit d73de96

Please sign in to comment.