TheChesireCat
commited on
Commit
·
2ee559e
1
Parent(s):
46d186a
test
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def streamlit_video_detect(uploaded_file, centerface, threshold, replacewith, ma
|
|
| 49 |
|
| 50 |
|
| 51 |
# Create a video writer object
|
| 52 |
-
out = cv2.VideoWriter(processed_video_temp_path, cv2.VideoWriter_fourcc(*'
|
| 53 |
|
| 54 |
# Progress Bar setup
|
| 55 |
progress_text = "Processing video. Please wait."
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
# Create a video writer object
|
| 52 |
+
out = cv2.VideoWriter(processed_video_temp_path, cv2.VideoWriter_fourcc(*'mp4'), fps, (width, height))
|
| 53 |
|
| 54 |
# Progress Bar setup
|
| 55 |
progress_text = "Processing video. Please wait."
|