Update app.py
Browse files
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.
|
| 59 |
-
label = gr.
|
| 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'
|