Spaces:
Runtime error
Runtime error
Prgckwb
commited on
Commit
•
f96a71c
1
Parent(s):
75c339d
add sample data
Browse files
app.py
CHANGED
@@ -69,6 +69,14 @@ def build_interface():
|
|
69 |
|
70 |
clear_button = gr.ClearButton(components=inputs + outputs, )
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
return demo
|
73 |
|
74 |
|
|
|
69 |
|
70 |
clear_button = gr.ClearButton(components=inputs + outputs, )
|
71 |
|
72 |
+
example = gr.Examples(
|
73 |
+
['assets/sample.dcm'],
|
74 |
+
inputs=inputs,
|
75 |
+
outputs=outputs,
|
76 |
+
fn=read_and_preprocess_dicom,
|
77 |
+
cache_examples=True
|
78 |
+
)
|
79 |
+
|
80 |
return demo
|
81 |
|
82 |
|