Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,24 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|