remove custom black css
Browse files
app.py
CHANGED
@@ -170,42 +170,14 @@ def main(input_file_path, species, default_dataset):
|
|
170 |
|
171 |
if __name__ == "__main__":
|
172 |
|
173 |
-
# css = """
|
174 |
-
# body {background-color: white; color: black;}
|
175 |
-
# .gradio-container {background-color: white; color: black;}
|
176 |
-
# .gr-file, .gr-image {background-color: #f0f0f0; color: black; border-color: black;}
|
177 |
-
|
178 |
-
# /* Custom styles for the run button */
|
179 |
-
# .run-button {
|
180 |
-
# background-color: #ffb714; /* Button color */
|
181 |
-
# color: black; /* White text color */
|
182 |
-
# border: none; /* Remove border */
|
183 |
-
# padding: 10px 20px; /* Add some padding */
|
184 |
-
# font-size: 16px; /* Increase font size */
|
185 |
-
# cursor: pointer; /* Change cursor to pointer */
|
186 |
-
# border-radius: 5px; /* Add rounded corners */
|
187 |
-
# transition: background-color 0.3s ease; /* Smooth transition */
|
188 |
-
# }
|
189 |
-
|
190 |
-
# .run-button:hover {
|
191 |
-
# background-color: #e6a600; /* Darker shade on hover */
|
192 |
-
# }
|
193 |
-
|
194 |
-
# /* Ensure text in ordered lists is black in both light and dark modes */
|
195 |
-
# ol, li {
|
196 |
-
# color: black !important;
|
197 |
-
# }
|
198 |
-
# """
|
199 |
-
|
200 |
-
# with gr.Blocks(css=css) as demo:
|
201 |
with gr.Blocks() as demo:
|
202 |
gr.Markdown(
|
203 |
'''
|
204 |
<div style="text-align:center; margin-bottom:20px;">
|
205 |
-
<span style="font-size:3em; font-weight:bold;
|
206 |
</div>
|
207 |
<div style="text-align:center; margin-bottom:10px;">
|
208 |
-
<span style="font-size:1.5em; font-weight:bold;
|
209 |
</div>
|
210 |
<div style="text-align:center; margin-bottom:20px;">
|
211 |
<a href="https://github.com/minwoosun/UCE">
|
@@ -218,7 +190,7 @@ if __name__ == "__main__":
|
|
218 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" style="display:inline-block; margin-right:10px;">
|
219 |
</a>
|
220 |
</div>
|
221 |
-
<div style="text-align:left; margin-bottom:20px;
|
222 |
Upload a `.h5ad` single cell gene expression file and select the species (Human/Mouse).
|
223 |
The demo will generate UMAP projections of the embeddings and allow you to download the embeddings for further analysis.
|
224 |
</div>
|
@@ -230,10 +202,10 @@ if __name__ == "__main__":
|
|
230 |
<li>4. Download the UCE embeddings and predicted cell-types</li>
|
231 |
</ol>
|
232 |
</div>
|
233 |
-
<div style="text-align:left; line-height:1.8;
|
234 |
Please consider citing the following paper if you use this tool in your research:
|
235 |
</div>
|
236 |
-
<div style="text-align:left; line-height:1.8;
|
237 |
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
|
238 |
</div>
|
239 |
'''
|
|
|
170 |
|
171 |
if __name__ == "__main__":
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
with gr.Blocks() as demo:
|
174 |
gr.Markdown(
|
175 |
'''
|
176 |
<div style="text-align:center; margin-bottom:20px;">
|
177 |
+
<span style="font-size:3em; font-weight:bold;">UCE 100M Demo 🦠</span>
|
178 |
</div>
|
179 |
<div style="text-align:center; margin-bottom:10px;">
|
180 |
+
<span style="font-size:1.5em; font-weight:bold;">Universal Cell Embeddings: Zero-Shot Cell-Type Classification in Action!</span>
|
181 |
</div>
|
182 |
<div style="text-align:center; margin-bottom:20px;">
|
183 |
<a href="https://github.com/minwoosun/UCE">
|
|
|
190 |
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" style="display:inline-block; margin-right:10px;">
|
191 |
</a>
|
192 |
</div>
|
193 |
+
<div style="text-align:left; margin-bottom:20px;">
|
194 |
Upload a `.h5ad` single cell gene expression file and select the species (Human/Mouse).
|
195 |
The demo will generate UMAP projections of the embeddings and allow you to download the embeddings for further analysis.
|
196 |
</div>
|
|
|
202 |
<li>4. Download the UCE embeddings and predicted cell-types</li>
|
203 |
</ol>
|
204 |
</div>
|
205 |
+
<div style="text-align:left; line-height:1.8;">
|
206 |
Please consider citing the following paper if you use this tool in your research:
|
207 |
</div>
|
208 |
+
<div style="text-align:left; line-height:1.8;">
|
209 |
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
|
210 |
</div>
|
211 |
'''
|