jioji0 commited on
Commit
c62773e
1 Parent(s): ae3d07d
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -23,18 +23,18 @@ def ade_palette():
23
  [10, 10, 10],
24
  [50, 50, 50],
25
  [200, 10, 50],
26
- [0, 0, 80],
27
  [0, 200, 30],
28
  [0, 30, 30],
29
  [0, 10, 35],
30
  [132, 102, 160],
31
  [236, 103, 45],
32
- [1, 1, 1],
33
  [47, 37, 16],
34
- [0, 70, 14],
35
  [73, 10, 4],
36
- [23, 0, 102],
37
- [130, 80, 0],
38
  [0, 0, 255]
39
  ]
40
 
@@ -105,7 +105,7 @@ demo = gr.Interface(fn=sepia,
105
  inputs=gr.Image(shape=(400, 600)),
106
  #inputs=gr.Image(type='pil', prepeocessing_function=prepro_img),
107
  outputs=['plot'],
108
- examples=["city-1c.jpg"],
109
  allow_flagging='never')
110
 
111
 
 
23
  [10, 10, 10],
24
  [50, 50, 50],
25
  [200, 10, 50],
26
+ [10, 20, 80],
27
  [0, 200, 30],
28
  [0, 30, 30],
29
  [0, 10, 35],
30
  [132, 102, 160],
31
  [236, 103, 45],
32
+ [16, 100, 1],
33
  [47, 37, 16],
34
+ [30, 70, 14],
35
  [73, 10, 4],
36
+ [23, 0, 90],
37
+ [100, 80, 0],
38
  [0, 0, 255]
39
  ]
40
 
 
105
  inputs=gr.Image(shape=(400, 600)),
106
  #inputs=gr.Image(type='pil', prepeocessing_function=prepro_img),
107
  outputs=['plot'],
108
+ examples=["city-1c.jpg","city-2","city-3"],
109
  allow_flagging='never')
110
 
111