Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -16,7 +16,7 @@ def convert(input):
|
|
16 |
|
17 |
gr.Interface(
|
18 |
fn=convert,
|
19 |
-
inputs=gr.
|
20 |
outputs="file",
|
21 |
title="Convert a Dicom folder to a Nifti (.nii.gz) file",
|
22 |
).launch()
|
|
|
16 |
|
17 |
gr.Interface(
|
18 |
fn=convert,
|
19 |
+
inputs=gr.File(type="file", label="Dicom folder (.zip)", file_types=["zip"]),
|
20 |
outputs="file",
|
21 |
title="Convert a Dicom folder to a Nifti (.nii.gz) file",
|
22 |
).launch()
|