Spaces:
Runtime error
Runtime error
tomaseo2022
commited on
Commit
•
171d6d8
1
Parent(s):
edda174
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,9 @@ def sepia(input_img):
|
|
9 |
sepia_img /= sepia_img.max()
|
10 |
return sepia_img
|
11 |
|
|
|
|
|
|
|
12 |
iface = gr.Interface(
|
13 |
sepia,
|
14 |
gr.components.Image(), "image",
|
|
|
9 |
sepia_img /= sepia_img.max()
|
10 |
return sepia_img
|
11 |
|
12 |
+
def clear_image():
|
13 |
+
return None
|
14 |
+
|
15 |
iface = gr.Interface(
|
16 |
sepia,
|
17 |
gr.components.Image(), "image",
|