Spaces:
Running on Zero
Running on Zero
Add the citation: paper link under the title, BibTeX in the app and the README
Browse files
README.md
CHANGED
|
@@ -194,3 +194,20 @@ change is resolvable; the demo does this by construction, with the seed fixed at
|
|
| 194 |
|
| 195 |
Measured on the cluster stack (torch 2.4.1); the Space runs torch 2.8.0, which is
|
| 196 |
not expected to change these but has not been compared directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
|
| 195 |
Measured on the cluster stack (torch 2.4.1); the Space runs torch 2.8.0, which is
|
| 196 |
not expected to change these but has not been compared directly.
|
| 197 |
+
|
| 198 |
+
---
|
| 199 |
+
|
| 200 |
+
## Citation
|
| 201 |
+
|
| 202 |
+
If you use CELL-FM, please cite:
|
| 203 |
+
|
| 204 |
+
```bibtex
|
| 205 |
+
@article{zheng2026virtual,
|
| 206 |
+
title = {Virtual experiments bridge sequence and microscopy with generative models},
|
| 207 |
+
author = {Zheng, Dihan and Hong, Kibeom and Huang, Bo},
|
| 208 |
+
journal = {bioRxiv},
|
| 209 |
+
year = {2026},
|
| 210 |
+
doi = {10.64898/2026.09.13.751243},
|
| 211 |
+
url = {https://www.biorxiv.org/content/10.64898/2026.09.13.751243v1}
|
| 212 |
+
}
|
| 213 |
+
```
|
app.py
CHANGED
|
@@ -369,12 +369,25 @@ def build_virtual_opencell_section():
|
|
| 369 |
show_progress="hidden", trigger_mode="always_last")
|
| 370 |
|
| 371 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 372 |
with gr.Blocks(title="CELL-FM", theme=gr.themes.Soft(), css=viewer.CSS, head=viewer.HEAD) as demo:
|
| 373 |
gr.Markdown(
|
| 374 |
"""
|
| 375 |
# CELL-FM
|
| 376 |
|
| 377 |
A virtual microscopy model that bridges microscopy images and protein sequences.
|
|
|
|
|
|
|
|
|
|
| 378 |
"""
|
| 379 |
)
|
| 380 |
|
|
@@ -384,6 +397,9 @@ with gr.Blocks(title="CELL-FM", theme=gr.themes.Soft(), css=viewer.CSS, head=vie
|
|
| 384 |
with gr.Tab("Virtual OpenCell"):
|
| 385 |
build_virtual_opencell_section()
|
| 386 |
|
|
|
|
|
|
|
|
|
|
| 387 |
|
| 388 |
# Download weights and build the models at startup, on CPU. Under ZeroGPU the GPU
|
| 389 |
# budget only covers the decorated call, so this must not happen inside it.
|
|
|
|
| 369 |
show_progress="hidden", trigger_mode="always_last")
|
| 370 |
|
| 371 |
|
| 372 |
+
CITATION = """@article{zheng2026virtual,
|
| 373 |
+
title = {Virtual experiments bridge sequence and microscopy with generative models},
|
| 374 |
+
author = {Zheng, Dihan and Hong, Kibeom and Huang, Bo},
|
| 375 |
+
journal = {bioRxiv},
|
| 376 |
+
year = {2026},
|
| 377 |
+
doi = {10.64898/2026.09.13.751243},
|
| 378 |
+
url = {https://www.biorxiv.org/content/10.64898/2026.09.13.751243v1}
|
| 379 |
+
}"""
|
| 380 |
+
|
| 381 |
+
|
| 382 |
with gr.Blocks(title="CELL-FM", theme=gr.themes.Soft(), css=viewer.CSS, head=viewer.HEAD) as demo:
|
| 383 |
gr.Markdown(
|
| 384 |
"""
|
| 385 |
# CELL-FM
|
| 386 |
|
| 387 |
A virtual microscopy model that bridges microscopy images and protein sequences.
|
| 388 |
+
|
| 389 |
+
Paper: Zheng, Hong & Huang, *Virtual experiments bridge sequence and microscopy with
|
| 390 |
+
generative models*, bioRxiv (2026), [doi:10.64898/2026.09.13.751243](https://www.biorxiv.org/content/10.64898/2026.09.13.751243v1)
|
| 391 |
"""
|
| 392 |
)
|
| 393 |
|
|
|
|
| 397 |
with gr.Tab("Virtual OpenCell"):
|
| 398 |
build_virtual_opencell_section()
|
| 399 |
|
| 400 |
+
with gr.Accordion("Citation", open=False):
|
| 401 |
+
gr.Markdown(f"If you use CELL-FM, please cite:\n\n```bibtex\n{CITATION}\n```")
|
| 402 |
+
|
| 403 |
|
| 404 |
# Download weights and build the models at startup, on CPU. Under ZeroGPU the GPU
|
| 405 |
# budget only covers the decorated call, so this must not happen inside it.
|