Sanshruth commited on
Commit
5a390b0
·
verified ·
1 Parent(s): 4f04b8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -194,7 +194,7 @@ def process_video(confidence_threshold=0.5, selected_classes=None, stream_url=No
194
  errors.append("Error: Could not open stream.")
195
  return None, "\n".join(errors)
196
 
197
- model = YOLO(model="yolov8n.pt")
198
  crossed_objects = {}
199
  max_tracked_objects = 1000 # Maximum number of objects to track before clearing
200
 
@@ -278,7 +278,7 @@ with gr.Blocks() as demo:
278
 
279
  # Step 1: Enter the IP Camera Stream URL
280
  # ip="https://view.h264.cam/ref/kta/live.primary.m3u8"
281
- ip="https://wzmedia.dot.ca.gov/D3/80_Colfax_PLA80_EB.stream/playlist.m3u8"
282
  stream_url = gr.Textbox(label="Enter IP Camera Stream URL", value=ip, visible=False)
283
 
284
 
 
194
  errors.append("Error: Could not open stream.")
195
  return None, "\n".join(errors)
196
 
197
+ model = YOLO(model="yolo12n.pt")
198
  crossed_objects = {}
199
  max_tracked_objects = 1000 # Maximum number of objects to track before clearing
200
 
 
278
 
279
  # Step 1: Enter the IP Camera Stream URL
280
  # ip="https://view.h264.cam/ref/kta/live.primary.m3u8"
281
+ ip="https://cdn3.wowza.com/5/Z2JuSTJHS2JOQVhK/Sanibel/Sanibel_Toll_Plaza.stream/chunklist.m3u8"
282
  stream_url = gr.Textbox(label="Enter IP Camera Stream URL", value=ip, visible=False)
283
 
284