BhumikaMak commited on
Commit
52d3078
·
verified ·
1 Parent(s): b158018

resolve interface params inconsistency

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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