Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mudler/LocalAI
/ _is_float
Function
_is_float
backend/python/ace-step/backend.py:55–60 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
53
DEFAULT_REPO_ID =
"ACE-Step/Ace-Step1.5"
54
55
def
_is_float(s):
56
try
:
57
float(s)
58
return
True
59
except
(ValueError, TypeError):
60
return
False
61
62
63
def
_is_int(s):
Callers
1
_parse_options
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected