Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
andreped
/
DDMR
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
5151a7d
DDMR
/
demo
/
src
/
compute.py
andreped
Major refactor on deployment
c0d9a8c
over 1 year ago
raw
Copy download link
history
blame
168 Bytes
def
run_model
(
input_path
):
from
lungtumormask
import
mask
mask.mask(input_path,
"./prediction.nii.gz"
, lung_filter=
True
, threshold=
0.5
, radius=
1
, batch_size=
1
)