Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
andreped
/
LungTumorMask
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
be8cccc
LungTumorMask
/
demo
/
src
/
compute.py
andreped
Setup demo app [no ci]
7c1e417
unverified
almost 2 years ago
raw
Copy download link
history
blame
Safe
167 Bytes
def
run_model
(
input_path
):
from
lungtumormask
import
mask
mask.mask(input_path,
"./output.nii.gz"
, lung_filter=
True
, threshold=
0.5
, radius=
1
, batch_size=
1
)