Spaces:
Sleeping
Sleeping
Testimony Adekoya
commited on
Commit
·
f1c9a67
1
Parent(s):
9af53cb
Just work werey
Browse files
pages/1_Live_Detection.py
CHANGED
|
@@ -108,10 +108,7 @@ with col1:
|
|
| 108 |
webrtc_ctx = webrtc_streamer(
|
| 109 |
key="drowsiness-detection",
|
| 110 |
# The factory now correctly passes the queues from session_state
|
| 111 |
-
video_processor_factory=
|
| 112 |
-
status_queue=st.session_state.status_queue,
|
| 113 |
-
audio_queue=st.session_state.audio_queue
|
| 114 |
-
),
|
| 115 |
rtc_configuration=RTC_CONFIGURATION,
|
| 116 |
media_stream_constraints={"video": True, "audio": False},
|
| 117 |
async_processing=True,
|
|
|
|
| 108 |
webrtc_ctx = webrtc_streamer(
|
| 109 |
key="drowsiness-detection",
|
| 110 |
# The factory now correctly passes the queues from session_state
|
| 111 |
+
video_processor_factory=VideoProcessor,
|
|
|
|
|
|
|
|
|
|
| 112 |
rtc_configuration=RTC_CONFIGURATION,
|
| 113 |
media_stream_constraints={"video": True, "audio": False},
|
| 114 |
async_processing=True,
|