Spaces:
Sleeping
Sleeping
Fix runtime error
Browse files34 unmodified lines353637383940414234 unmodified lines"but OCR uses the original image.")# Webcam inputwebcam = gr.Image(type="pil", source="webcam")# Mirror the preview using CSS (client-side only)webcam.style(**{"transform": "scaleX(-1)"})34 unmodified lines353637383940414234 unmodified lines"but OCR uses the original image.")# Webcam input (sources instead of source)webcam = gr.Image(type="pil", sources=["webcam"])# Mirror the preview using CSS (client-side only)webcam.style(**{"transform": "scaleX(-1)"})
app.py+2-2