Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,10 @@ iface = gr.Interface(remove_background,
|
|
19 |
description='Upload an image and it will remove.',
|
20 |
|
21 |
)
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
# Launch the interface
|
24 |
iface.launch()
|
|
|
19 |
description='Upload an image and it will remove.',
|
20 |
|
21 |
)
|
22 |
+
urllib.request.urlretrieve(
|
23 |
+
'https://media.geeksforgeeks.org/wp-content/uploads/20210318103632/gfg-300x300.png',
|
24 |
+
"gfg.png")
|
25 |
+
img = Image.open("gfg.png")
|
26 |
+
img.show()
|
27 |
# Launch the interface
|
28 |
iface.launch()
|