leonett commited on
Commit
376f914
·
verified ·
1 Parent(s): 2966c35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 = 90
105
- noise_level = 15
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("Resultado del Análisis ELA", open=True):
384
  ela_image = gr.Image(
385
- label="**🔍 ÁREAS TURQUESA = manipulaciones o borrados**",
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,