PengWeixuanSZU commited on
Commit
62cbb24
·
verified ·
1 Parent(s): 9521510

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -148,6 +148,7 @@ def segment_frame(evt: gr.SelectData, label, video_state):
148
 
149
  return Image.fromarray(painted_image)
150
 
 
151
  def clear_clicks(video_state):
152
  video_state["input_points"] = []
153
  video_state["input_labels"] = []
 
148
 
149
  return Image.fromarray(painted_image)
150
 
151
+ @spaces.GPU(duration=10)
152
  def clear_clicks(video_state):
153
  video_state["input_points"] = []
154
  video_state["input_labels"] = []