Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,10 +46,6 @@ def process_video(video_path):
|
|
46 |
|
47 |
out.write(frame)
|
48 |
|
49 |
-
# Display the frame in Streamlit
|
50 |
-
frame_rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
51 |
-
st.image(frame_rgb)
|
52 |
-
|
53 |
cap.release()
|
54 |
out.release()
|
55 |
return output_path
|
|
|
46 |
|
47 |
out.write(frame)
|
48 |
|
|
|
|
|
|
|
|
|
49 |
cap.release()
|
50 |
out.release()
|
51 |
return output_path
|