jykoh commited on
Commit
cce1831
1 Parent(s): f3e34b0
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -24,6 +24,10 @@ def upload_image(state, image_input):
24
  return [state, input_image], state
25
 
26
 
 
 
 
 
27
  def save_image_to_local(image: Image.Image):
28
  # TODO(jykoh): Update so the url path is used, to prevent repeat saving.
29
  filename = next(tempfile._get_candidate_names()) + '.png'
 
24
  return [state, input_image], state
25
 
26
 
27
+ def reset():
28
+ return [[], None], []
29
+
30
+
31
  def save_image_to_local(image: Image.Image):
32
  # TODO(jykoh): Update so the url path is used, to prevent repeat saving.
33
  filename = next(tempfile._get_candidate_names()) + '.png'