Spaces:
Sleeping
Sleeping
debug: syntax error
Browse files
app.py
CHANGED
@@ -156,9 +156,12 @@ with gr.Blocks(css=custom_css) as interface:
|
|
156 |
return [(image1, text)], netron_html, [image2]
|
157 |
|
158 |
# Run button click
|
|
|
|
|
|
|
159 |
run_button.click(
|
160 |
fn=run_both,
|
161 |
-
inputs=[sample_selection, upload_image, selected_models, target_lyr
|
162 |
outputs=[result_gallery, netron_display, dff_gallery],
|
163 |
)
|
164 |
|
|
|
156 |
return [(image1, text)], netron_html, [image2]
|
157 |
|
158 |
# Run button click
|
159 |
+
|
160 |
+
target_lyr = -5
|
161 |
+
n_components = 8
|
162 |
run_button.click(
|
163 |
fn=run_both,
|
164 |
+
inputs=[sample_selection, upload_image, selected_models, target_lyr, n_components],
|
165 |
outputs=[result_gallery, netron_display, dff_gallery],
|
166 |
)
|
167 |
|