ialhashim commited on
Commit
8434f66
·
verified ·
1 Parent(s): 14f56bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ def colorize_img( img_float32, model, res=512, border=0.2, apply_blur=True):
55
  def process_image(img):
56
  return colorize_img( (img / 255).astype('float32'), model )
57
 
58
- image = gr.inputs.Image()
59
- label = gr.outputs.Label()
60
  title = "Colorizer"
61
  description = "A model that colorizes b&w images."
62
  interpretation='default'
 
55
  def process_image(img):
56
  return colorize_img( (img / 255).astype('float32'), model )
57
 
58
+ image = gr.Image()
59
+ label = gr.Label()
60
  title = "Colorizer"
61
  description = "A model that colorizes b&w images."
62
  interpretation='default'