Update app.py
Browse files
app.py
CHANGED
|
@@ -495,10 +495,6 @@ with gr.Blocks(
|
|
| 495 |
)
|
| 496 |
|
| 497 |
timer = gr.Timer(value=5) # Update every 5 seconds
|
| 498 |
-
timer.tick(
|
| 499 |
-
fn=update_emotion_status,
|
| 500 |
-
outputs=emotion_status
|
| 501 |
-
)
|
| 502 |
|
| 503 |
# Threat detection with streaming
|
| 504 |
webcam_input.stream(
|
|
|
|
| 495 |
)
|
| 496 |
|
| 497 |
timer = gr.Timer(value=5) # Update every 5 seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
| 498 |
|
| 499 |
# Threat detection with streaming
|
| 500 |
webcam_input.stream(
|