Spaces:
Running
on
Zero
Running
on
Zero
fix typo
Browse files
app.py
CHANGED
@@ -1627,20 +1627,20 @@ with demo:
|
|
1627 |
gr.Markdown('### Output (Recursion #1)')
|
1628 |
l1_gallery = gr.Gallery(format='png', value=[], label="Recursion #1", show_label=True, elem_id="ncut_l1", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1629 |
add_output_images_buttons(l1_gallery)
|
1630 |
-
l1_norm_gallery = gr.Gallery(value=[], label="Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1631 |
-
l1_cluster_gallery = gr.Gallery(value=[], label="
|
1632 |
with gr.Column(scale=5, min_width=200):
|
1633 |
gr.Markdown('### Output (Recursion #2)')
|
1634 |
l2_gallery = gr.Gallery(format='png', value=[], label="Recursion #2", show_label=True, elem_id="ncut_l2", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1635 |
add_output_images_buttons(l2_gallery)
|
1636 |
-
l2_norm_gallery = gr.Gallery(value=[], label="Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1637 |
-
l2_cluster_gallery = gr.Gallery(value=[], label="Clusters", show_label=True, elem_id="clusters", columns=[2], rows=[4], object_fit="contain", height=600, show_share_button=True, preview=True, interactive=False)
|
1638 |
with gr.Column(scale=5, min_width=200):
|
1639 |
gr.Markdown('### Output (Recursion #3)')
|
1640 |
l3_gallery = gr.Gallery(format='png', value=[], label="Recursion #3", show_label=True, elem_id="ncut_l3", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1641 |
add_output_images_buttons(l3_gallery)
|
1642 |
-
l3_norm_gallery = gr.Gallery(value=[], label="Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1643 |
-
l3_cluster_gallery = gr.Gallery(value=[], label="Clusters", show_label=True, elem_id="clusters", columns=[2], rows=[4], object_fit="contain", height=600, show_share_button=True, preview=True, interactive=False)
|
1644 |
with gr.Row():
|
1645 |
with gr.Column(scale=5, min_width=200):
|
1646 |
input_gallery, submit_button, clear_images_button = make_input_images_section()
|
|
|
1627 |
gr.Markdown('### Output (Recursion #1)')
|
1628 |
l1_gallery = gr.Gallery(format='png', value=[], label="Recursion #1", show_label=True, elem_id="ncut_l1", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1629 |
add_output_images_buttons(l1_gallery)
|
1630 |
+
l1_norm_gallery = gr.Gallery(value=[], label="Recursion #1 Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1631 |
+
l1_cluster_gallery = gr.Gallery(value=[], label="Recursion #1 lusters", show_label=True, elem_id="clusters", columns=[2], rows=[4], object_fit="contain", height=600, show_share_button=True, preview=True, interactive=False)
|
1632 |
with gr.Column(scale=5, min_width=200):
|
1633 |
gr.Markdown('### Output (Recursion #2)')
|
1634 |
l2_gallery = gr.Gallery(format='png', value=[], label="Recursion #2", show_label=True, elem_id="ncut_l2", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1635 |
add_output_images_buttons(l2_gallery)
|
1636 |
+
l2_norm_gallery = gr.Gallery(value=[], label="Recursion #2 Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1637 |
+
l2_cluster_gallery = gr.Gallery(value=[], label="Recursion #2 Clusters", show_label=True, elem_id="clusters", columns=[2], rows=[4], object_fit="contain", height=600, show_share_button=True, preview=True, interactive=False)
|
1638 |
with gr.Column(scale=5, min_width=200):
|
1639 |
gr.Markdown('### Output (Recursion #3)')
|
1640 |
l3_gallery = gr.Gallery(format='png', value=[], label="Recursion #3", show_label=True, elem_id="ncut_l3", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
|
1641 |
add_output_images_buttons(l3_gallery)
|
1642 |
+
l3_norm_gallery = gr.Gallery(value=[], label="Recursion #3 Eigenvector Magnitude", show_label=True, elem_id="eig_norm", columns=[3], rows=[1], object_fit="contain", height="auto", show_share_button=True, preview=False, interactive=False)
|
1643 |
+
l3_cluster_gallery = gr.Gallery(value=[], label="Recursion #3 Clusters", show_label=True, elem_id="clusters", columns=[2], rows=[4], object_fit="contain", height=600, show_share_button=True, preview=True, interactive=False)
|
1644 |
with gr.Row():
|
1645 |
with gr.Column(scale=5, min_width=200):
|
1646 |
input_gallery, submit_button, clear_images_button = make_input_images_section()
|