Skip to content

Commit cca8fb1

Browse files
authored
Merge pull request #39 from SubstrateLabs/chris/remove-bg-nit
remove unused fg variable
2 parents b0f3956 + 3da0e94 commit cca8fb1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/remove_bg.py renamed to examples/remove_foreground.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
substrate = Substrate(api_key=api_key, timeout=60 * 5)
1717
prompt = "by edward hopper, a red leather wing chair in an open room, pillars, amazing painting composition"
18-
image = GenerateImage(prompt=prompt, negative_prompt="photo realistic")
19-
fg = RemoveBackground(image_uri=image.future.image_uri)
18+
image = GenerateImage(prompt=prompt)
2019
mask = RemoveBackground(
2120
image_uri=image.future.image_uri,
2221
return_mask=True,

0 commit comments

Comments
 (0)