antoyo123 commited on
Commit
af80700
1 Parent(s): 08d114a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def process_image(image, prompt):
55
 
56
  interface = gr.Interface(fn=process_image,
57
  inputs=[gr.Image(type="pil"), gr.Textbox(label="Please describe what you want to identify")],
58
- outputs=[gr.Image(type="pil"), gr.Image(type="file",label="output")],
59
  title="Interactive demo: zero-shot image segmentation with CLIPSeg and inpainting with LAMA",
60
  description="Demo for using CLIPSeg and LAMA to perform zero- and one-shot image segmentation and inpainting. To use it, simply upload an image and add a text to mask (identify in the image), or use one of the examples below and click 'submit'. Results will show up in a few seconds.")
61
 
 
55
 
56
  interface = gr.Interface(fn=process_image,
57
  inputs=[gr.Image(type="pil"), gr.Textbox(label="Please describe what you want to identify")],
58
+ outputs=[gr.Image(type="pil"), gr.Image(type="filepath")],
59
  title="Interactive demo: zero-shot image segmentation with CLIPSeg and inpainting with LAMA",
60
  description="Demo for using CLIPSeg and LAMA to perform zero- and one-shot image segmentation and inpainting. To use it, simply upload an image and add a text to mask (identify in the image), or use one of the examples below and click 'submit'. Results will show up in a few seconds.")
61