Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -367,12 +367,12 @@ def main_func(filepath):
|
|
| 367 |
img=visualize(model, data, a)
|
| 368 |
return (size_text,img)
|
| 369 |
|
| 370 |
-
title = "
|
| 371 |
-
description = "Gradio demo for
|
| 372 |
gr.Interface(
|
| 373 |
main_func,
|
| 374 |
-
[gr.inputs.Image(type="filepath", label="Input
|
| 375 |
-
[gr.outputs.Textbox(label="
|
| 376 |
title=title,
|
| 377 |
description=description,
|
| 378 |
# examples=[['a.png', ['Generate text']], ['b.png', ['Generate text','Summary','Important Sentences']], ]
|
|
|
|
| 367 |
img=visualize(model, data, a)
|
| 368 |
return (size_text,img)
|
| 369 |
|
| 370 |
+
title = "Image Colorization"
|
| 371 |
+
description = "Gradio demo for Image Colorization project. You can give an image as input on the left side and then click on the submit button. The program would recolorize the image"
|
| 372 |
gr.Interface(
|
| 373 |
main_func,
|
| 374 |
+
[gr.inputs.Image(type="filepath", label="Input Image") ],
|
| 375 |
+
[gr.outputs.Textbox(label="Image Size"),"image"],
|
| 376 |
title=title,
|
| 377 |
description=description,
|
| 378 |
# examples=[['a.png', ['Generate text']], ['b.png', ['Generate text','Summary','Important Sentences']], ]
|