Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ title = "Image Colorization"
|
|
373 |
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"
|
374 |
gr.Interface(
|
375 |
main_func,
|
376 |
-
[
|
377 |
[gr.Textbox(label="Image Size"),gr.Image(type="numpy", label="Output Image")],
|
378 |
title=title,
|
379 |
description=description,
|
|
|
373 |
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"
|
374 |
gr.Interface(
|
375 |
main_func,
|
376 |
+
[gr.Image(type="filepath", label="Input Image") ],
|
377 |
[gr.Textbox(label="Image Size"),gr.Image(type="numpy", label="Output Image")],
|
378 |
title=title,
|
379 |
description=description,
|