Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
huggingface
/
inference-playground
like
150
Build error
App
Files
Files
Community
5
Fetching metadata from the HF Docker repository...
28faefd
inference-playground
/
src
/
lib
/
utils
/
string.ts
Thomas G. Lopes
Checkpoints (#73)
7450ebd
unverified
10 days ago
raw
Copy download link
history
blame
Safe
125 Bytes
export
function
pluralize
(
word:
string
, count:
number
):
string
{
if
(count ===
1
) {
return
word;
}
return
word +
"s"
;
}