Spaces:
Runtime error
Runtime error
Download utils/util.go from lifedebugger/pweb-api: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/spaces/lifedebugger/pweb-api/resolve/main/utils/util.go
- Command line
-
hf download hf://spaces/lifedebugger/pweb-api/utils/util.go
-
curl -L -o util.go https://huggingface.co/spaces/lifedebugger/pweb-api/resolve/main/utils/util.go
184 Bytes
| package utils | |
| func ternaryMessage(condition bool, valueIfTrue string, valueIfFalse string) string { | |
| if condition { | |
| return valueIfTrue | |
| } else { | |
| return valueIfFalse | |
| } | |
| } | |