with image
Browse files
app.py
CHANGED
@@ -17,14 +17,14 @@ def sepia(input_img):
|
|
17 |
)
|
18 |
sepia_img = input_img.dot(sepia_filter.T)
|
19 |
sepia_img /= sepia_img.max()
|
20 |
-
return
|
21 |
|
22 |
|
23 |
examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
|
24 |
|
25 |
demo = gr.Interface(sepia,
|
26 |
"image",
|
27 |
-
"
|
28 |
|
29 |
examples= examples,
|
30 |
title=title,
|
|
|
17 |
)
|
18 |
sepia_img = input_img.dot(sepia_filter.T)
|
19 |
sepia_img /= sepia_img.max()
|
20 |
+
return sepia_img
|
21 |
|
22 |
|
23 |
examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
|
24 |
|
25 |
demo = gr.Interface(sepia,
|
26 |
"image",
|
27 |
+
"image",
|
28 |
|
29 |
examples= examples,
|
30 |
title=title,
|