amirgame197 commited on
Commit
afd2e23
·
verified ·
1 Parent(s): 6e756ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ def doo(video):
36
 
37
  cap.release()
38
 
39
- # Return the list of processed frames (as NumPy arrays)
40
- return processed_frames
41
 
42
  iface = gr.Interface(fn=doo, inputs="video", outputs="video")
43
  iface.launch()
 
36
 
37
  cap.release()
38
 
39
+ # Return the processed frames as a list of NumPy arrays
40
+ return [processed_frames]
41
 
42
  iface = gr.Interface(fn=doo, inputs="video", outputs="video")
43
  iface.launch()