alibidaran commited on
Commit
4b3cc5a
1 Parent(s): dd78cef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -26,14 +26,13 @@ def segment_image(filepath):
26
 
27
  demo=gr.Interface(fn=segment_image,inputs=gr.Image(type='filepath'),
28
  outputs=[gr.Image(type="pil"),gr.Image(type="pil")],
29
- examples=['/content/miccai2022_sisvse_dataset/images/real/R002_ch1_video_01_01-07-25-19.jpg',
30
- "/content/miccai2022_sisvse_dataset/images/real/R003_ch1_video_01_01-14-13-15.jpg",
31
- "/content/miccai2022_sisvse_dataset/images/real/R013_ch1_video_01_00-50-27-19.jpg",
32
- "/content/miccai2022_sisvse_dataset/images/real/R010_ch1_video_03_00-26-28-05.jpg",
33
- "/content/miccai2022_sisvse_dataset/images/real/R007_ch1_video_04_00-15-54-18.jpg",
34
- "/content/miccai2022_sisvse_dataset/images/real/R013_ch1_video_03_00-55-16-10.jpg",
35
- "/content/miccai2022_sisvse_dataset/images/real/R006_ch1_video_01_00-49-32-01.jpg",
36
- "/content/miccai2022_sisvse_dataset/images/real/R005_ch1_video_03_00-18-54-00.jpg"],
37
  themes=gr.themes.Soft(primary_hue=gr.themes.colors.amber,secondary_hue=gr.themes.colors.blue),
38
  title="Davinci Eye(CPU version)")
39
  demo.launch()
 
26
 
27
  demo=gr.Interface(fn=segment_image,inputs=gr.Image(type='filepath'),
28
  outputs=[gr.Image(type="pil"),gr.Image(type="pil")],
29
+ examples=['R001_ch1_video_03_00-29-13-03.jpg',
30
+ "R002_ch1_video_01_01-07-25-19.jpg,
31
+ "R003_ch1_video_05_00-22-42-23.jpg",
32
+ "R004_ch1_video_01_01-12-22-00.jpg",
33
+ "R005_ch1_video_03_00-19-10-11.jpg",
34
+ "R006_ch1_video_01_00-45-02-10.jpg",
35
+ "R013_ch1_video_03_00-40-17-11.jpg"],
 
36
  themes=gr.themes.Soft(primary_hue=gr.themes.colors.amber,secondary_hue=gr.themes.colors.blue),
37
  title="Davinci Eye(CPU version)")
38
  demo.launch()