Spaces:
Sleeping
Sleeping
Testimony Adekoya
commited on
Commit
·
d4b3ca0
1
Parent(s):
56a3a4f
Found bug
Browse files
pages/1_Live_Detection.py
CHANGED
@@ -102,10 +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=lambda: VideoProcessor
|
106 |
-
status_queue=st.session_state.status_queue,
|
107 |
-
audio_queue=st.session_state.audio_queue
|
108 |
-
),
|
109 |
rtc_configuration=RTC_CONFIGURATION,
|
110 |
media_stream_constraints={"video": True, "audio": False},
|
111 |
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=lambda: VideoProcessor
|
|
|
|
|
|
|
106 |
rtc_configuration=RTC_CONFIGURATION,
|
107 |
media_stream_constraints={"video": True, "audio": False},
|
108 |
async_processing=True,
|