CCockrum commited on
Commit
1347213
Β·
verified Β·
1 Parent(s): 22db4ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -311,9 +311,9 @@ def create_gradio_interface():
311
  )
312
 
313
  # Create interface
314
- with gr.Blocks(title="Cancer Research Literature Mining Agent", theme=gr.themes.Soft()) as interface:
315
  gr.Markdown("""
316
- # πŸ”¬ Cancer Research Literature Mining Agent
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("πŸ“Š 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")
 
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")