Update app.py
Browse files
app.py
CHANGED
|
@@ -97,11 +97,11 @@ gr.HTML('''
|
|
| 97 |
title = ""
|
| 98 |
description = r"""
|
| 99 |
"""
|
| 100 |
-
examples = [['./input.
|
| 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=
|
|
|
|
| 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)
|