Charly Cayuco commited on
Commit
23fb6b9
1 Parent(s): 18b16f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -51,13 +51,9 @@ def run(image, size):
51
  return soft_blur_with_mask(pil_image, mask, padding)
52
 
53
  content_image_input = gr.inputs.Image(label="Entrada", type="pil")
54
- model_image_size = gr.inputs.Radio([256, 384, 512, 1024], type="value", default=512, label="Nivel de Inferencia")
55
 
56
- article="""
57
- .
58
- """
59
  app_interface = gr.Interface(fn=run,
60
  inputs=[content_image_input, model_image_size],
61
- outputs="image",
62
- title="Pixelar caras online",)
63
  app_interface.launch()
 
51
  return soft_blur_with_mask(pil_image, mask, padding)
52
 
53
  content_image_input = gr.inputs.Image(label="Entrada", type="pil")
54
+ model_image_size = gr.inputs.Radio([256, 384, 512, 1024], type="value", default=512, label="Ajustar nivel de inferencia")
55
 
 
 
 
56
  app_interface = gr.Interface(fn=run,
57
  inputs=[content_image_input, model_image_size],
58
+ outputs="image")
 
59
  app_interface.launch()