Update app.py
Browse files
app.py
CHANGED
@@ -678,16 +678,7 @@ def create_ui() -> gr.Blocks:
|
|
678 |
visible=False
|
679 |
)
|
680 |
|
681 |
-
|
682 |
-
gr.Markdown("π‘ **Click repository names to visit them on Hugging Face**")
|
683 |
-
df_output = gr.Dataframe(
|
684 |
-
headers=["Repository", "Strengths", "Weaknesses", "Speciality", "Relevance"],
|
685 |
-
column_widths=["16.67%", "25%", "25%", "20.83%", "12.5%"],
|
686 |
-
wrap=True,
|
687 |
-
interactive=False
|
688 |
-
)
|
689 |
-
|
690 |
-
# Modal popup for repository action selection (like in old_app2.py)
|
691 |
with gr.Row():
|
692 |
with gr.Column():
|
693 |
repo_action_modal = gr.Column(visible=False)
|
@@ -703,6 +694,15 @@ def create_ui() -> gr.Blocks:
|
|
703 |
explore_repo_btn = gr.Button("π Open in Repo Explorer", variant="secondary", size="lg")
|
704 |
cancel_modal_btn = gr.Button("β Cancel", size="lg")
|
705 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
# Quick links section for all repositories
|
707 |
with gr.Row():
|
708 |
all_repo_links = gr.HTML(
|
|
|
678 |
visible=False
|
679 |
)
|
680 |
|
681 |
+
# Modal popup for repository action selection (positioned between the two CSV files)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
682 |
with gr.Row():
|
683 |
with gr.Column():
|
684 |
repo_action_modal = gr.Column(visible=False)
|
|
|
694 |
explore_repo_btn = gr.Button("π Open in Repo Explorer", variant="secondary", size="lg")
|
695 |
cancel_modal_btn = gr.Button("β Cancel", size="lg")
|
696 |
|
697 |
+
gr.Markdown("### π All Analysis Results")
|
698 |
+
gr.Markdown("π‘ **Click repository names to visit them on Hugging Face**")
|
699 |
+
df_output = gr.Dataframe(
|
700 |
+
headers=["Repository", "Strengths", "Weaknesses", "Speciality", "Relevance"],
|
701 |
+
column_widths=["16.67%", "25%", "25%", "20.83%", "12.5%"],
|
702 |
+
wrap=True,
|
703 |
+
interactive=False
|
704 |
+
)
|
705 |
+
|
706 |
# Quick links section for all repositories
|
707 |
with gr.Row():
|
708 |
all_repo_links = gr.HTML(
|