Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"],
|
| 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():
|