Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
dc2215c
1
Parent(s):
f9a9c3c
Update app.py
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
187 |
item = gr.Radio(choices=ITEMS_NAMES, value=DEFAULT_ITEM_NAME, show_label=False, container=False)
|
188 |
|
189 |
demo.load(None,None,None,js=scripts)
|
190 |
-
inputs = [image, item]
|
191 |
outputs = [result]
|
192 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
193 |
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
|
|
|
187 |
item = gr.Radio(choices=ITEMS_NAMES, value=DEFAULT_ITEM_NAME, show_label=False, container=False)
|
188 |
|
189 |
demo.load(None,None,None,js=scripts)
|
190 |
+
inputs = [image["composite"], item]
|
191 |
outputs = [result]
|
192 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
193 |
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
|