ysharma HF Staff commited on
Commit
41e553b
·
1 Parent(s): 5833a98
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,9 +44,9 @@ with demo:
44
  """Testing Inference for Gradio. Work in Progress."""
45
  )
46
  with gr.Row():
47
- in_image = gr.Image(type='pil') #(visible=False) type='numpy'
48
- in_image_mask = gr.Image(type='pil', source="canvas", visible=False) #type='numpy',
49
- out_image = gr.outputs.Image(type='pil') #(type='file')
50
 
51
  #in_text1 = gr.Textbox()
52
  #in_text2 = gr.Textbox()
 
44
  """Testing Inference for Gradio. Work in Progress."""
45
  )
46
  with gr.Row():
47
+ in_image = gr.Image(type='file') #(visible=False) type='numpy'
48
+ in_image_mask = gr.Image(type='file', source="canvas", visible=False) #type='numpy',
49
+ out_image = gr.outputs.Image(type='file') #(type='file')
50
 
51
  #in_text1 = gr.Textbox()
52
  #in_text2 = gr.Textbox()