codic commited on
Commit
03d9c80
·
verified ·
1 Parent(s): 1c77dfd

update the remove bg

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def remove_background(image):
28
  img_bytes.seek(0)
29
 
30
  # Step 1: Remove background using the Gradio API
31
- result_url = bg_removal_client.predict(
32
  f=img_bytes,
33
  api_name="/png"
34
  )
 
28
  img_bytes.seek(0)
29
 
30
  # Step 1: Remove background using the Gradio API
31
+ result_url = background_removal_client.predict( # Corrected variable name here
32
  f=img_bytes,
33
  api_name="/png"
34
  )