Spaces:
Runtime error
Runtime error
Update gradio_app.py
Browse files- gradio_app.py +5 -1
gradio_app.py
CHANGED
@@ -3,6 +3,10 @@ import gradio as gr
|
|
3 |
def monai_inference(input):
|
4 |
pass
|
5 |
|
6 |
-
demo = gr.Interface(
|
|
|
|
|
|
|
|
|
7 |
|
8 |
demo.launch()
|
|
|
3 |
def monai_inference(input):
|
4 |
pass
|
5 |
|
6 |
+
demo = gr.Interface(
|
7 |
+
fn=monai_inference,
|
8 |
+
inputs=gr.File(file_count="single", file_types=[".nii.gz", ".zip"], label="can i see this text"),
|
9 |
+
outputs="file"
|
10 |
+
)
|
11 |
|
12 |
demo.launch()
|