rishi9440 commited on
Commit
c13a18d
·
1 Parent(s): 95a0294

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -19,6 +19,10 @@ iface = gr.Interface(remove_background,
19
  description='Upload an image and it will remove.',
20
 
21
  )
22
- Image.open(r,output_image)
 
 
 
 
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()