Spaces:
Running
Running
felipekitamura
commited on
Commit
•
3954480
1
Parent(s):
b9c3afa
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,9 @@ def process_file(input_file):
|
|
38 |
else:
|
39 |
raise ValueError("The provided file is not a zip file.")
|
40 |
|
|
|
41 |
|
42 |
inputs = gr.components.File(label="Input File")
|
43 |
outputs = gr.components.File(label="Output File")
|
44 |
-
demo = gr.Interface(fn=process_file, inputs=inputs, outputs=outputs)
|
45 |
demo.launch()
|
|
|
38 |
else:
|
39 |
raise ValueError("The provided file is not a zip file.")
|
40 |
|
41 |
+
description = "Upload a ZIP file containing a folder with a head CT's DICOM files. The ZIP file might also contain subfolders, each one containing a head CT."
|
42 |
|
43 |
inputs = gr.components.File(label="Input File")
|
44 |
outputs = gr.components.File(label="Output File")
|
45 |
+
demo = gr.Interface(fn=process_file, description=description, inputs=inputs, outputs=outputs)
|
46 |
demo.launch()
|