Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,6 @@ def get_video_info(video_path, video_state):
|
|
| 101 |
image = Image.fromarray(first_frame)
|
| 102 |
return image
|
| 103 |
|
| 104 |
-
@spaces.GPU(duration=200)
|
| 105 |
def segment_frame(evt: gr.SelectData, label, video_state):
|
| 106 |
if video_state["origin_images"] is None:
|
| 107 |
return None
|
|
|
|
| 101 |
image = Image.fromarray(first_frame)
|
| 102 |
return image
|
| 103 |
|
|
|
|
| 104 |
def segment_frame(evt: gr.SelectData, label, video_state):
|
| 105 |
if video_state["origin_images"] is None:
|
| 106 |
return None
|