Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -433,12 +433,7 @@ def create_ui() -> gr.Blocks:
|
|
| 433 |
|
| 434 |
gr.Markdown("### π Results Dashboard")
|
| 435 |
gr.Markdown("π‘ **Tip:** Click on any repository name to explore it in detail!")
|
| 436 |
-
|
| 437 |
-
headers=["Repository", "Strengths", "Weaknesses", "Speciality", "Relevance"],
|
| 438 |
-
wrap=True,
|
| 439 |
-
interactive=False # Prevent editing but allow selection
|
| 440 |
-
)
|
| 441 |
-
|
| 442 |
# Modal popup for repository action selection
|
| 443 |
with gr.Row():
|
| 444 |
with gr.Column():
|
|
@@ -454,6 +449,12 @@ def create_ui() -> gr.Blocks:
|
|
| 454 |
visit_repo_btn = gr.Button("π Visit Hugging Face Space", variant="primary", size="lg")
|
| 455 |
explore_repo_btn = gr.Button("π Open in Repo Explorer", variant="secondary", size="lg")
|
| 456 |
cancel_modal_btn = gr.Button("β Cancel", size="lg")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 457 |
|
| 458 |
# --- Chatbot Tab ---
|
| 459 |
with gr.TabItem("π€ AI Assistant", id="chatbot_tab"):
|
|
|
|
| 433 |
|
| 434 |
gr.Markdown("### π Results Dashboard")
|
| 435 |
gr.Markdown("π‘ **Tip:** Click on any repository name to explore it in detail!")
|
| 436 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 437 |
# Modal popup for repository action selection
|
| 438 |
with gr.Row():
|
| 439 |
with gr.Column():
|
|
|
|
| 449 |
visit_repo_btn = gr.Button("π Visit Hugging Face Space", variant="primary", size="lg")
|
| 450 |
explore_repo_btn = gr.Button("π Open in Repo Explorer", variant="secondary", size="lg")
|
| 451 |
cancel_modal_btn = gr.Button("β Cancel", size="lg")
|
| 452 |
+
|
| 453 |
+
df_output = gr.Dataframe(
|
| 454 |
+
headers=["Repository", "Strengths", "Weaknesses", "Speciality", "Relevance"],
|
| 455 |
+
wrap=True,
|
| 456 |
+
interactive=False # Prevent editing but allow selection
|
| 457 |
+
)
|
| 458 |
|
| 459 |
# --- Chatbot Tab ---
|
| 460 |
with gr.TabItem("π€ AI Assistant", id="chatbot_tab"):
|