Fix Docs calls to model.benchmark() (#18391)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Signed-off-by: Kishan Pankajbhai Pipariya <39761387+KishanPipariya@users.noreply.github.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Kishan Pankajbhai Pipariya <39761387+KishanPipariya@users.noreply.github.com>
This commit is contained in:
parent
93862d3640
commit
d35860d4a1
4 changed files with 5 additions and 5 deletions
|
|
@ -150,7 +150,7 @@ class Inference:
|
|||
while cap.isOpened():
|
||||
success, frame = cap.read()
|
||||
if not success:
|
||||
st.warning("Failed to read frame from webcam. Please make sure the webcam is connected properly.")
|
||||
self.st.warning("Failed to read frame from webcam. Please verify the webcam is connected properly.")
|
||||
break
|
||||
|
||||
prev_time = time.time() # Store initial time for FPS calculation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue