Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
armeet
/
nomri
like
4
Running
on
Zero
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
nomri
/
type_utils.py
samaonline
init
1b34a12
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
173 Bytes
def
tuple_type
(
strings
):
strings = strings.replace(
"("
,
""
).replace(
")"
,
""
).replace(
" "
,
""
)
mapped_int =
map
(
int
, strings.split(
","
))
return
tuple
(mapped_int)