Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filestry to remove rmbck
app.py
CHANGED
@@ -336,7 +336,7 @@ def process(input_fg, prompt, image_width, image_height, num_samples, seed, step
|
|
336 |
@spaces.GPU
|
337 |
@torch.inference_mode()
|
338 |
def process_relight(input_fg, prompt, image_width, image_height, num_samples, seed, steps, a_prompt, n_prompt, cfg, highres_scale, highres_denoise, lowres_denoise, bg_source):
|
339 |
-
input_fg, matting = run_rmbg(input_fg)
|
340 |
results = process(input_fg, prompt, image_width, image_height, num_samples, seed, steps, a_prompt, n_prompt, cfg, highres_scale, highres_denoise, lowres_denoise, bg_source)
|
341 |
return input_fg, results
|
342 |
|
|
|
336 |
@spaces.GPU
|
337 |
@torch.inference_mode()
|
338 |
def process_relight(input_fg, prompt, image_width, image_height, num_samples, seed, steps, a_prompt, n_prompt, cfg, highres_scale, highres_denoise, lowres_denoise, bg_source):
|
339 |
+
#input_fg, matting = run_rmbg(input_fg)
|
340 |
results = process(input_fg, prompt, image_width, image_height, num_samples, seed, steps, a_prompt, n_prompt, cfg, highres_scale, highres_denoise, lowres_denoise, bg_source)
|
341 |
return input_fg, results
|
342 |
|