Update app.py
Browse files
app.py
CHANGED
@@ -311,9 +311,9 @@ def create_gradio_interface():
|
|
311 |
)
|
312 |
|
313 |
# Create interface
|
314 |
-
with gr.Blocks(title="
|
315 |
gr.Markdown("""
|
316 |
-
#
|
317 |
|
318 |
This AI agent searches and analyzes scientific literature related to cancer research in animal models.
|
319 |
It automatically extracts insights about animal models used, research focus areas, and emerging trends.
|
@@ -348,16 +348,16 @@ def create_gradio_interface():
|
|
348 |
""")
|
349 |
|
350 |
with gr.Tabs():
|
351 |
-
with gr.TabItem("
|
352 |
summary_output = gr.Markdown(label="Analysis Summary")
|
353 |
|
354 |
-
with gr.TabItem("
|
355 |
papers_output = gr.Dataframe(
|
356 |
headers=["PMID", "Title", "Authors", "Journal", "Year"],
|
357 |
label="Retrieved Papers"
|
358 |
)
|
359 |
|
360 |
-
with gr.TabItem("
|
361 |
with gr.Row():
|
362 |
year_plot = gr.Plot(label="Publication Timeline")
|
363 |
models_plot = gr.Plot(label="Animal Models")
|
|
|
311 |
)
|
312 |
|
313 |
# Create interface
|
314 |
+
with gr.Blocks(title="Veterinary Oncology Assistant", theme=gr.themes.Soft()) as interface:
|
315 |
gr.Markdown("""
|
316 |
+
# Veterinary Oncology Assistant
|
317 |
|
318 |
This AI agent searches and analyzes scientific literature related to cancer research in animal models.
|
319 |
It automatically extracts insights about animal models used, research focus areas, and emerging trends.
|
|
|
348 |
""")
|
349 |
|
350 |
with gr.Tabs():
|
351 |
+
with gr.TabItem("Summary & Insights"):
|
352 |
summary_output = gr.Markdown(label="Analysis Summary")
|
353 |
|
354 |
+
with gr.TabItem("Papers Found"):
|
355 |
papers_output = gr.Dataframe(
|
356 |
headers=["PMID", "Title", "Authors", "Journal", "Year"],
|
357 |
label="Retrieved Papers"
|
358 |
)
|
359 |
|
360 |
+
with gr.TabItem("Visualizations"):
|
361 |
with gr.Row():
|
362 |
year_plot = gr.Plot(label="Publication Timeline")
|
363 |
models_plot = gr.Plot(label="Animal Models")
|