edit css and link
Browse files
app.py
CHANGED
@@ -129,6 +129,8 @@ def main(input_file_path, species):
|
|
129 |
if __name__ == "__main__":
|
130 |
|
131 |
|
|
|
|
|
132 |
css = """
|
133 |
body {background-color: black; color: white;}
|
134 |
.gradio-container {background-color: black; color: white;}
|
@@ -138,18 +140,18 @@ if __name__ == "__main__":
|
|
138 |
with gr.Blocks(css=css) as demo:
|
139 |
gr.Markdown(
|
140 |
'''
|
141 |
-
<div style="text-align:center; margin-bottom:20px;
|
142 |
-
<span style="font-size:3em; font-weight:bold;">UCE 100M Demo</span>
|
143 |
</div>
|
144 |
-
<div style="text-align:center; margin-bottom:10px;
|
145 |
-
<span style="font-size:1.5em; font-weight:bold;">Universal Cell Embeddings: Explore Single Cell Data</span>
|
146 |
</div>
|
147 |
<div style="text-align:center; margin-bottom:20px;">
|
148 |
<a href="https://github.com/minwoosun/UCE">
|
149 |
<img src="https://badges.aleen42.com/src/github.svg" alt="GitHub" style="display:inline-block; margin-right:10px;">
|
150 |
</a>
|
151 |
-
<a href="https://
|
152 |
-
<img src="https://img.shields.io/badge/
|
153 |
</a>
|
154 |
</div>
|
155 |
<div style="text-align:left; margin-bottom:20px; color: white;">
|
@@ -168,7 +170,7 @@ if __name__ == "__main__":
|
|
168 |
Please consider citing the following paper if you use this tool in your research:
|
169 |
</div>
|
170 |
<div style="text-align:left; line-height:1.8; color: white;">
|
171 |
-
|
172 |
</div>
|
173 |
'''
|
174 |
)
|
@@ -186,4 +188,4 @@ if __name__ == "__main__":
|
|
186 |
outputs=[image_output, file_output]
|
187 |
)
|
188 |
|
189 |
-
demo.launch()
|
|
|
129 |
if __name__ == "__main__":
|
130 |
|
131 |
|
132 |
+
if __name__ == "__main__":
|
133 |
+
|
134 |
css = """
|
135 |
body {background-color: black; color: white;}
|
136 |
.gradio-container {background-color: black; color: white;}
|
|
|
140 |
with gr.Blocks(css=css) as demo:
|
141 |
gr.Markdown(
|
142 |
'''
|
143 |
+
<div style="text-align:center; margin-bottom:20px;">
|
144 |
+
<span style="font-size:3em; font-weight:bold; color: white;">UCE 100M Demo</span>
|
145 |
</div>
|
146 |
+
<div style="text-align:center; margin-bottom:10px;">
|
147 |
+
<span style="font-size:1.5em; font-weight:bold; color: white;">Universal Cell Embeddings: Explore Single Cell Data</span>
|
148 |
</div>
|
149 |
<div style="text-align:center; margin-bottom:20px;">
|
150 |
<a href="https://github.com/minwoosun/UCE">
|
151 |
<img src="https://badges.aleen42.com/src/github.svg" alt="GitHub" style="display:inline-block; margin-right:10px;">
|
152 |
</a>
|
153 |
+
<a href="https://www.biorxiv.org/content/10.1101/2023.11.28.568918v1">
|
154 |
+
<img src="https://img.shields.io/badge/bioRxiv-2023.11.28.568918-green?style=plastic" alt="Paper" style="display:inline-block; margin-right:10px;">
|
155 |
</a>
|
156 |
</div>
|
157 |
<div style="text-align:left; margin-bottom:20px; color: white;">
|
|
|
170 |
Please consider citing the following paper if you use this tool in your research:
|
171 |
</div>
|
172 |
<div style="text-align:left; line-height:1.8; color: white;">
|
173 |
+
Rosen, Y., Roohani, Y., Agarwal, A., Samotorčan, L., Tabula Sapiens Consortium, Quake, S. R., & Leskovec, J. Universal Cell Embeddings: A Foundation Model for Cell Biology. bioRxiv. https://doi.org/10.1101/2023.11.28.568918
|
174 |
</div>
|
175 |
'''
|
176 |
)
|
|
|
188 |
outputs=[image_output, file_output]
|
189 |
)
|
190 |
|
191 |
+
demo.launch()
|