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