naman1102 commited on
Commit
f8a72ae
Β·
1 Parent(s): 9030be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -678,16 +678,7 @@ def create_ui() -> gr.Blocks:
678
  visible=False
679
  )
680
 
681
- gr.Markdown("### πŸ“‹ All Analysis Results")
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(