Last example
Browse files- app.py +7 -6
- utils/example4.jpg +0 -0
app.py
CHANGED
@@ -234,18 +234,13 @@ 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/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 |
|
251 |
```
|
@@ -272,6 +267,12 @@ if __name__ == "__main__":
|
|
272 |
primaryClass={eess.IV}
|
273 |
}
|
274 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
|
276 |
Author: Nicolás Gaggion
|
277 |
Website: [ngaggion.github.io](https://ngaggion.github.io/)
|
|
|
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','utils/example4.jpg'])
|
238 |
|
239 |
with gr.Column():
|
240 |
image_output = gr.Image(type="filepath", height=750)
|
241 |
results = gr.File()
|
242 |
|
243 |
gr.Markdown("""
|
|
|
|
|
|
|
|
|
|
|
244 |
If you use this code, please cite:
|
245 |
|
246 |
```
|
|
|
267 |
primaryClass={eess.IV}
|
268 |
}
|
269 |
```
|
270 |
+
|
271 |
+
Example images extracted from Wikipedia, released under:
|
272 |
+
1. CC0 Universial Public Domain. Source: https://commons.wikimedia.org/wiki/File:Normal_posteroanterior_(PA)_chest_radiograph_(X-ray).jpg
|
273 |
+
2. Creative Commons Attribution-Share Alike 4.0 International. Source: https://commons.wikimedia.org/wiki/File:Chest_X-ray.jpg
|
274 |
+
3. Creative Commons Attribution 3.0 Unported. Source https://commons.wikimedia.org/wiki/File:Implantable_cardioverter_defibrillator_chest_X-ray.jpg
|
275 |
+
4. Creative Commons Attribution-Share Alike 3.0 Unported. Source: https://commons.wikimedia.org/wiki/File:Medical_X-Ray_imaging_PRD06_nevit.jpg
|
276 |
|
277 |
Author: Nicolás Gaggion
|
278 |
Website: [ngaggion.github.io](https://ngaggion.github.io/)
|
utils/example4.jpg
ADDED
![]() |