mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-09 09:19:54 +00:00
vision tag
This commit is contained in:
@@ -62,6 +62,12 @@ func GetModelTags(model openrouter.Model) []string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for _, modality := range model.Architecture.InputModalities {
|
||||||
|
if modality == "image" {
|
||||||
|
tags = append(tags, "vision")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sort.Strings(tags)
|
sort.Strings(tags)
|
||||||
|
|
||||||
return tags
|
return tags
|
||||||
|
@@ -102,6 +102,10 @@
|
|||||||
background-image: url(icons/tags/tools.svg)
|
background-image: url(icons/tags/tools.svg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tags .tag.vision {
|
||||||
|
background-image: url(icons/tags/vision.svg)
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown .search {
|
.dropdown .search {
|
||||||
background: #2a2e41;
|
background: #2a2e41;
|
||||||
border-top: 2px solid #494d64;
|
border-top: 2px solid #494d64;
|
||||||
|
@@ -3,5 +3,5 @@
|
|||||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
||||||
|
|
||||||
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 894 B |
7
static/css/icons/tags/vision.svg
Normal file
7
static/css/icons/tags/vision.svg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
|
||||||
|
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
|
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
||||||
|
|
||||||
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
After Width: | Height: | Size: 1008 B |
Reference in New Issue
Block a user