Update app.py
Browse files
app.py
CHANGED
|
@@ -101,8 +101,8 @@ def realizar_ela(imagen):
|
|
| 101 |
img_np = np.array(imagen.convert("RGB"))
|
| 102 |
img_cv = cv2.cvtColor(img_np, cv2.COLOR_RGB2BGR)
|
| 103 |
|
| 104 |
-
quality =
|
| 105 |
-
noise_level =
|
| 106 |
error_scale = 30
|
| 107 |
|
| 108 |
temp_path = "/tmp/temp_image.jpg"
|
|
@@ -380,9 +380,9 @@ with gr.Blocks(title="Análisis Forense de Imágenes con ELA", theme=theme, css=
|
|
| 380 |
stats_scatter = gr.Plot(label="Análisis de Componentes", show_label=True)
|
| 381 |
|
| 382 |
with gr.Column():
|
| 383 |
-
with gr.Accordion(
|
| 384 |
ela_image = gr.Image(
|
| 385 |
-
label="
|
| 386 |
type="numpy",
|
| 387 |
height=400,
|
| 388 |
show_label=True,
|
|
|
|
| 101 |
img_np = np.array(imagen.convert("RGB"))
|
| 102 |
img_cv = cv2.cvtColor(img_np, cv2.COLOR_RGB2BGR)
|
| 103 |
|
| 104 |
+
quality = 95
|
| 105 |
+
noise_level = 3
|
| 106 |
error_scale = 30
|
| 107 |
|
| 108 |
temp_path = "/tmp/temp_image.jpg"
|
|
|
|
| 380 |
stats_scatter = gr.Plot(label="Análisis de Componentes", show_label=True)
|
| 381 |
|
| 382 |
with gr.Column():
|
| 383 |
+
with gr.Accordion(open=True):
|
| 384 |
ela_image = gr.Image(
|
| 385 |
+
label="🔍 ÁREAS TURQUESA = manipulaciones o borrados",
|
| 386 |
type="numpy",
|
| 387 |
height=400,
|
| 388 |
show_label=True,
|