rishi9440 commited on
Commit
7680d35
1 Parent(s): c13a18d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -19,10 +19,8 @@ iface = gr.Interface(remove_background,
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()
 
19
  description='Upload an image and it will remove.',
20
 
21
  )
22
+
23
+ img = Image.open(output_image)
 
 
24
  img.show()
25
  # Launch the interface
26
  iface.launch()