Spaces:
Sleeping
Sleeping
pixelpandacreative
commited on
Commit
•
cbcfa0d
1
Parent(s):
c40383d
Update app.py
Browse files
app.py
CHANGED
@@ -23,13 +23,12 @@ def convert_dicom_to_tsv(dicom_file):
|
|
23 |
return buffer
|
24 |
|
25 |
# Create a Gradio interface
|
26 |
-
app = gr.Interface
|
27 |
fn=convert_dicom_to_tsv,
|
28 |
gr.inputs.File(label="Upload DICOM File",),
|
29 |
gr.outputs.File(label="Download TSV File"),
|
30 |
title="DICOM to TSV Converter",
|
31 |
-
description="Upload a DICOM file and convert it to TSV format."
|
32 |
-
live=True,
|
33 |
)
|
34 |
|
35 |
if __name__ == "__main__":
|
|
|
23 |
return buffer
|
24 |
|
25 |
# Create a Gradio interface
|
26 |
+
app = gr.Interface(
|
27 |
fn=convert_dicom_to_tsv,
|
28 |
gr.inputs.File(label="Upload DICOM File",),
|
29 |
gr.outputs.File(label="Download TSV File"),
|
30 |
title="DICOM to TSV Converter",
|
31 |
+
description="Upload a DICOM file and convert it to TSV format."
|
|
|
32 |
)
|
33 |
|
34 |
if __name__ == "__main__":
|