Raumkommander commited on
Commit
c8d788b
·
verified ·
1 Parent(s): 2c6983b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ app.mount("/static", StaticFiles(directory="static"), name="static")
14
  templates = Jinja2Templates(directory="templates")
15
 
16
  # Open webcam (or use a file)
17
- video_source = 0 # Change to "video.mp4" for a file
18
  cap = cv2.VideoCapture(video_source)
19
 
20
  def generate_frames():
 
14
  templates = Jinja2Templates(directory="templates")
15
 
16
  # Open webcam (or use a file)
17
+ video_source = 1 # Change to "video.mp4" for a file
18
  cap = cv2.VideoCapture(video_source)
19
 
20
  def generate_frames():