Spaces:
Sleeping
Sleeping
Testimony Adekoya
commited on
Commit
·
4974f3a
1
Parent(s):
d4b3ca0
Issues fiz
Browse files
pages/1_Live_Detection.py
CHANGED
@@ -102,7 +102,7 @@ with col1:
|
|
102 |
webrtc_ctx = webrtc_streamer(
|
103 |
key="drowsiness-detection",
|
104 |
# The factory now correctly passes the queues from session_state
|
105 |
-
video_processor_factory=
|
106 |
rtc_configuration=RTC_CONFIGURATION,
|
107 |
media_stream_constraints={"video": True, "audio": False},
|
108 |
async_processing=True,
|
|
|
102 |
webrtc_ctx = webrtc_streamer(
|
103 |
key="drowsiness-detection",
|
104 |
# The factory now correctly passes the queues from session_state
|
105 |
+
video_processor_factory=VideoProcessor,
|
106 |
rtc_configuration=RTC_CONFIGURATION,
|
107 |
media_stream_constraints={"video": True, "audio": False},
|
108 |
async_processing=True,
|