SMD00 commited on
Commit
d77fdd6
1 Parent(s): 74d5983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -376,7 +376,7 @@ description = "Gradio demo for Image Colorization project. You can give an image
376
  gr.Interface(
377
  main_func,
378
  [gr.Image(type="filepath", label="Input Image") ],
379
- [gr.Textbox(label="Image Size"),gr.Image(type="pil", label="Output Image")],
380
  title=title,
381
  description=description,
382
  # examples=[['a.png', ['Generate text']], ['b.png', ['Generate text','Summary','Important Sentences']], ]
 
376
  gr.Interface(
377
  main_func,
378
  [gr.Image(type="filepath", label="Input Image") ],
379
+ [gr.Textbox(label="Image Size"),gr.Image(type="numpy", label="Output Image")],
380
  title=title,
381
  description=description,
382
  # examples=[['a.png', ['Generate text']], ['b.png', ['Generate text','Summary','Important Sentences']], ]