Spaces:
Sleeping
Sleeping
resolve interface params inconsistency
Browse files
app.py
CHANGED
@@ -121,6 +121,13 @@ with gr.Blocks(css=custom_css) as interface:
|
|
121 |
inputs=sample_selection,
|
122 |
outputs=sample_display,
|
123 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
# Multi-threaded processing
|
126 |
def run_both(sample_choice, uploaded_image, selected_models):
|
@@ -151,7 +158,7 @@ with gr.Blocks(css=custom_css) as interface:
|
|
151 |
run_button.click(
|
152 |
fn=run_both,
|
153 |
inputs=[sample_selection, upload_image, selected_models],
|
154 |
-
outputs=[result_gallery, netron_display],
|
155 |
)
|
156 |
|
157 |
# Launch Gradio interface
|
|
|
121 |
inputs=sample_selection,
|
122 |
outputs=sample_display,
|
123 |
)
|
124 |
+
with gr.Row():
|
125 |
+
dff_gallery = gr.Gallery(
|
126 |
+
label="Deep Feature Factorization",
|
127 |
+
rows=1,
|
128 |
+
height=800,
|
129 |
+
)
|
130 |
+
|
131 |
|
132 |
# Multi-threaded processing
|
133 |
def run_both(sample_choice, uploaded_image, selected_models):
|
|
|
158 |
run_button.click(
|
159 |
fn=run_both,
|
160 |
inputs=[sample_selection, upload_image, selected_models],
|
161 |
+
outputs=[result_gallery, netron_display, dff_gallery],
|
162 |
)
|
163 |
|
164 |
# Launch Gradio interface
|