Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/MotionDiffuse
/ is_number
Function
is_number
text2motion/utils/get_opt.py:21–26 ·
view source on GitHub ↗
(numStr)
Source
from the content-addressed store, hash-verified
19
20
21
def
is_number(numStr):
22
flag = False
23
numStr = str(numStr).strip().lstrip(
'-'
).lstrip(
'+'
)
24
if
str(numStr).isdigit():
25
flag = True
26
return
flag
27
28
29
def
get_opt(opt_path, device):
Callers
1
get_opt
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected