mrbeliever commited on
Commit
b72cf78
·
verified ·
1 Parent(s): d66e97b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,11 +97,11 @@ gr.HTML('''
97
  title = ""
98
  description = r"""
99
  """
100
- examples = [['./input.jpg'],]
101
 
102
  # output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
103
  # demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
104
  demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
105
 
106
  if __name__ == "__main__":
107
- demo.launch(share=False)
 
97
  title = ""
98
  description = r"""
99
  """
100
+ examples = [['./input.jpeg'],]
101
 
102
  # output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
103
  # demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
104
  demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
105
 
106
  if __name__ == "__main__":
107
+ demo.launch(share=True)