Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
755a578
1
Parent(s):
2674f7f
update
Browse files
app.py
CHANGED
@@ -305,7 +305,7 @@ with gr.Blocks(
|
|
305 |
)
|
306 |
|
307 |
image_prompt.upload(
|
308 |
-
partial(preprocess_image_fn, model=gr.State(
|
309 |
inputs=[image_prompt],
|
310 |
outputs=[image_prompt],
|
311 |
)
|
|
|
305 |
)
|
306 |
|
307 |
image_prompt.upload(
|
308 |
+
partial(preprocess_image_fn, model=gr.State(value=RBG_REMOVER), buffer=gr.State(value=IMAGE_BUFFER)),
|
309 |
inputs=[image_prompt],
|
310 |
outputs=[image_prompt],
|
311 |
)
|