Juned24 commited on
Commit
da28d5c
·
verified ·
1 Parent(s): 0e509a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,11 +19,11 @@ with st.sidebar:
19
 
20
  st.sidebar.image("logo.png", use_column_width=True)
21
  # Process video
22
- if st.button('Start'):
23
- if video == 'YouTube' and link_youtube:
24
- process_video(link_youtube, model)
25
- elif video == 'Webcam':
26
- process_video('Webcam', model)
27
 
28
 
29
  # Load Model YOLOv9
 
19
 
20
  st.sidebar.image("logo.png", use_column_width=True)
21
  # Process video
22
+ if st.button('Start'):
23
+ if video == 'YouTube' and link_youtube:
24
+ process_video(link_youtube, model)
25
+ elif video == 'Webcam':
26
+ process_video('Webcam', model)
27
 
28
 
29
  # Load Model YOLOv9