amirgame197
commited on
Commit
•
c77150e
1
Parent(s):
afd2e23
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ def doo(video):
|
|
36 |
|
37 |
cap.release()
|
38 |
|
39 |
-
# Return the processed frames as a list of NumPy arrays
|
40 |
-
return
|
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) and the original video's frame rate
|
40 |
+
return processed_frames, fps
|
41 |
|
42 |
iface = gr.Interface(fn=doo, inputs="video", outputs="video")
|
43 |
iface.launch()
|