Example
Browse files- app.py +5 -2
- utils/example1.jpg +0 -0
- utils/{example.jpg → example2.jpg} +0 -0
- utils/example3.png +0 -0
app.py
CHANGED
@@ -234,14 +234,17 @@ if __name__ == "__main__":
|
|
234 |
clear_button = gr.Button("Clear")
|
235 |
image_button = gr.Button("Segment Image")
|
236 |
|
237 |
-
gr.Examples(inputs=image_input, examples=['utils/
|
238 |
|
239 |
with gr.Column():
|
240 |
image_output = gr.Image(type="filepath", height=750)
|
241 |
results = gr.File()
|
242 |
|
243 |
gr.Markdown("""
|
244 |
-
Example
|
|
|
|
|
|
|
245 |
|
246 |
If you use this code, please cite:
|
247 |
|
|
|
234 |
clear_button = gr.Button("Clear")
|
235 |
image_button = gr.Button("Segment Image")
|
236 |
|
237 |
+
gr.Examples(inputs=image_input, examples=['utils/example1.jpg','utils/example2.jpg','utils/example3.png'])
|
238 |
|
239 |
with gr.Column():
|
240 |
image_output = gr.Image(type="filepath", height=750)
|
241 |
results = gr.File()
|
242 |
|
243 |
gr.Markdown("""
|
244 |
+
Example images extracted from Wikipedia, released under:
|
245 |
+
1. CC0 Universial Public Domain. Source: https://commons.wikimedia.org/wiki/File:Normal_posteroanterior_(PA)_chest_radiograph_(X-ray).jpg
|
246 |
+
2. Creative Commons Attribution-Share Alike 4.0 International. Source: https://commons.wikimedia.org/wiki/File:Chest_X-ray.jpg
|
247 |
+
3. Creative Commons Attribution 3.0 Unported. Source https://commons.wikimedia.org/wiki/File:Implantable_cardioverter_defibrillator_chest_X-ray.jpg
|
248 |
|
249 |
If you use this code, please cite:
|
250 |
|
utils/example1.jpg
ADDED
![]() |
utils/{example.jpg → example2.jpg}
RENAMED
File without changes
|
utils/example3.png
ADDED
![]() |