Spaces:
Running
Running
dennistrujillo
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -78,11 +78,11 @@ def process_images(dicom_file, x_min, y_min, x_max, y_max):
|
|
78 |
iface = gr.Interface(
|
79 |
fn=process_images,
|
80 |
inputs=[
|
81 |
-
gr.
|
82 |
-
gr.
|
83 |
-
gr.
|
84 |
-
gr.
|
85 |
-
gr.
|
86 |
],
|
87 |
outputs=gr.outputs.Image(type="plot")
|
88 |
)
|
|
|
78 |
iface = gr.Interface(
|
79 |
fn=process_images,
|
80 |
inputs=[
|
81 |
+
gr.File(label="DICOM File"),
|
82 |
+
gr.Number(label="X min"),
|
83 |
+
gr.Number(label="Y min"),
|
84 |
+
gr.Number(label="X max"),
|
85 |
+
gr.Number(label="Y max")
|
86 |
],
|
87 |
outputs=gr.outputs.Image(type="plot")
|
88 |
)
|