File size: 241 Bytes
1db037e
 
 
 
 
c4ee74b
 
 
 
 
6cdd153
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

def monai_inference(input):
    pass

demo = gr.Interface(
    fn=monai_inference,
    inputs=gr.File(file_count="single", file_types=[".nii.gz", ".zip"], label="can i see this text"),
    outputs="file"
)

demo.launch()