Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def predict_dicom(dicom_file):
|
|
39 |
# Create Gradio interface
|
40 |
interface = gr.Interface(
|
41 |
fn=predict_dicom,
|
42 |
-
inputs=gr.
|
43 |
outputs="image",
|
44 |
title="DICOM Image Prediction"
|
45 |
)
|
|
|
39 |
# Create Gradio interface
|
40 |
interface = gr.Interface(
|
41 |
fn=predict_dicom,
|
42 |
+
inputs=gr.File(label="Upload DICOM File"),
|
43 |
outputs="image",
|
44 |
title="DICOM Image Prediction"
|
45 |
)
|