osbm commited on
Commit
9f1d11b
1 Parent(s): c4ee74b

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +4 -2
gradio_app.py CHANGED
@@ -5,8 +5,10 @@ def monai_inference(input):
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()
 
5
 
6
  demo = gr.Interface(
7
  fn=monai_inference,
8
+ inputs=gr.File(file_count="single", file_types=[".nii.gz", ".zip"], label=".nii.gz file or .zip file"),
9
+ outputs="file",
10
+ title="Inference on monai model",
11
+ description="You can upload either zip of dicom folder or .nii.gz file. In turn, you can download the mask as .nii.gz file.",
12
  )
13
 
14
  demo.launch()