Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
@@ -6,7 +6,11 @@ def predict(img):
|
|
6 |
|
7 |
demo = gr.Interface(
|
8 |
fn=predict,
|
9 |
-
inputs=gr.
|
|
|
|
|
|
|
|
|
10 |
outputs=gr.Label(num_top_classes=3),
|
11 |
)
|
12 |
|
|
|
6 |
|
7 |
demo = gr.Interface(
|
8 |
fn=predict,
|
9 |
+
inputs=gr.File(file_count="single", file_types=[".mha", ".nii.gz", ".nii"]),
|
10 |
+
# outputs=(
|
11 |
+
# gr.File()
|
12 |
+
# )
|
13 |
+
# ,
|
14 |
outputs=gr.Label(num_top_classes=3),
|
15 |
)
|
16 |
|