Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
BuiMinh
/
Mit
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Mit
/
src
/
lib
/
utils
/
models.ts
DevLLM
Add application file
3baea8e
12 months ago
raw
Copy download link
history
blame
contribute
delete
168 Bytes
import
type
{
Model
}
from
"$lib/types/Model"
;
export
const
findCurrentModel = (
models
:
Model
[], id?:
string
):
Model
=>
models.
find
(
(
m
) =>
m.
id
=== id) ?? models[
0
];