angelsg213 commited on
Commit
f7b414c
·
verified ·
1 Parent(s): 744eef6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -47,12 +47,11 @@ with gr.Blocks(title="Captura de Fotos con Webcam") as demo:
47
  with gr.Column(scale=1):
48
  gr.Markdown("### 📷 Capturar o Subir Foto")
49
 
50
- # Componente de imagen con webcam
51
  imagen_input = gr.Image(
52
  label="Webcam / Subir imagen",
53
- sources=["webcam", "upload"], # Permite ambas opciones
54
- type="pil",
55
- mirror_webcam=False # True para efecto espejo
56
  )
57
 
58
  with gr.Row():
 
47
  with gr.Column(scale=1):
48
  gr.Markdown("### 📷 Capturar o Subir Foto")
49
 
50
+ # Componente de imagen con webcam - PARÁMETROS CORREGIDOS
51
  imagen_input = gr.Image(
52
  label="Webcam / Subir imagen",
53
+ sources=["webcam", "upload"],
54
+ type="pil"
 
55
  )
56
 
57
  with gr.Row():