Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -144,8 +144,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue")) as app:
|
|
144 |
label="Alert System",
|
145 |
autoplay=True,
|
146 |
visible=False, # Hide the player controls
|
147 |
-
streaming=True
|
148 |
-
sample_rate=model.config.sampling_rate
|
149 |
)
|
150 |
|
151 |
webcam_input.stream(
|
|
|
144 |
label="Alert System",
|
145 |
autoplay=True,
|
146 |
visible=False, # Hide the player controls
|
147 |
+
streaming=True
|
|
|
148 |
)
|
149 |
|
150 |
webcam_input.stream(
|