Fix: remove mirror_webcam, unsupported in Gradio 5.x
Browse files
app.py
CHANGED
|
@@ -128,7 +128,6 @@ with gr.Blocks(title="Real-Time Emotion Detection") as demo:
|
|
| 128 |
sources=["webcam"],
|
| 129 |
streaming=True,
|
| 130 |
label="Live Feed",
|
| 131 |
-
mirror_webcam=True
|
| 132 |
)
|
| 133 |
|
| 134 |
webcam.stream(
|
|
|
|
| 128 |
sources=["webcam"],
|
| 129 |
streaming=True,
|
| 130 |
label="Live Feed",
|
|
|
|
| 131 |
)
|
| 132 |
|
| 133 |
webcam.stream(
|