Paper2Agent commited on
Commit
7a92ff2
·
verified ·
1 Parent(s): 86821cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -1,12 +1,24 @@
1
  import gradio as gr
2
 
3
- def show_video():
4
- return "AlphaGenome Agent Demo 1 with Chatbot interface.mp4"
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  iface = gr.Interface(
7
  fn=show_video,
8
  inputs=None,
9
- outputs=gr.Video(label="AlphaGenome Agent Demo 1 with Chatbot interface")
10
  )
11
 
12
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ def show_video_and_text():
4
+ video_url = "https://github.com/user-attachments/assets/34aad25b-42b3-4feb-b418-db31066e7f7b"
5
+ markdown = """
6
+ ## Demos
7
+
8
+ Below, we showcase demos of AI agents created by Paper2Agent, illustrating how each agent applies the tools from its source paper to tackle scientific tasks.
9
+
10
+ ### 🧬 AlphaGenome Agent for Genomic Data Interpretation
11
+ Example query:
12
+
13
+ ```
14
+ Analyze heart gene expression data with AlphaGenome MCP to identify the causal gene
15
+ for the variant chr11:116837649:T>G, associated with Hypoalphalipoproteinemia.
16
+ ```
17
 
18
  iface = gr.Interface(
19
  fn=show_video,
20
  inputs=None,
21
+ outputs=gr.Video(label="AlphaGenome Agent Demo 1 with Chatbot interface", type="filepath")
22
  )
23
 
24
  iface.launch()