aramis-user commited on
Commit
92d9b2a
·
verified ·
1 Parent(s): 202f5fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict(input_image):
45
  # Gradio app: file upload instead of image
46
  demo = gr.Interface(
47
  fn=predict,
48
- inputs=gr.File(type="file", label=".nii.gz MRI upload"),
49
  outputs="label",
50
  title="ClinicaDL MRI Classifier",
51
  description="Upload a .nii.gz file to get the model's prediction."
 
45
  # Gradio app: file upload instead of image
46
  demo = gr.Interface(
47
  fn=predict,
48
+ inputs=gr.File(type="filepath", label=".nii.gz MRI upload"),
49
  outputs="label",
50
  title="ClinicaDL MRI Classifier",
51
  description="Upload a .nii.gz file to get the model's prediction."