luis56125 commited on
Commit
e614339
1 Parent(s): 6df61ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def transform_image(image):
32
  mask = np.reshape(mask, (480, 640))
33
  return Image.fromarray(mask.astype('uint8'))
34
 
35
- # Ajuste de la creación de la interfaz con los parámetros correctos para el componente Image
36
  interface = gr.Interface(fn=transform_image,
37
  inputs=gr.components.Image(width=640, height=480),
38
  outputs=gr.components.Image(),
 
32
  mask = np.reshape(mask, (480, 640))
33
  return Image.fromarray(mask.astype('uint8'))
34
 
35
+ # Ajuste de la creación de la interfaz
36
  interface = gr.Interface(fn=transform_image,
37
  inputs=gr.components.Image(width=640, height=480),
38
  outputs=gr.components.Image(),