amirgame197 commited on
Commit
92e9432
1 Parent(s): 1d8b559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -39,7 +39,9 @@ def doo(video):
39
 
40
  frame_count += 1
41
  processed_frames += 1
42
- gr.Interface.progress(processed_frames / total_frames) # Update the progress bar
 
 
43
 
44
  if frame_count >= max_frames:
45
  cap.release()
 
39
 
40
  frame_count += 1
41
  processed_frames += 1
42
+
43
+ # Print progress information
44
+ print(f"Processing: {processed_frames}/{total_frames} frames")
45
 
46
  if frame_count >= max_frames:
47
  cap.release()