change run button color && update markdown text
Browse files
app.py
CHANGED
@@ -188,6 +188,22 @@ if __name__ == "__main__":
|
|
188 |
body {background-color: white; color: black;}
|
189 |
.gradio-container {background-color: white; color: black;}
|
190 |
.gr-file, .gr-image {background-color: #f0f0f0; color: black; border-color: black;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
"""
|
192 |
|
193 |
with gr.Blocks(css=css) as demo:
|
@@ -216,10 +232,10 @@ if __name__ == "__main__":
|
|
216 |
</div>
|
217 |
<div style="margin-bottom:20px; color: black;">
|
218 |
<ol style="list-style:none; padding-left:0;">
|
219 |
-
<li>1. Upload your `.h5ad` file</li>
|
220 |
<li>2. Select the species</li>
|
221 |
<li>3. Click "Run" to view the UMAP scatter plot</li>
|
222 |
-
<li>4. Download the
|
223 |
</ol>
|
224 |
</div>
|
225 |
<div style="text-align:left; line-height:1.8; color: black;">
|
|
|
188 |
body {background-color: white; color: black;}
|
189 |
.gradio-container {background-color: white; color: black;}
|
190 |
.gr-file, .gr-image {background-color: #f0f0f0; color: black; border-color: black;}
|
191 |
+
|
192 |
+
/* Custom styles for the run button */
|
193 |
+
.run-button {
|
194 |
+
background-color: #ffb714; /* Button color */
|
195 |
+
color: black; /* White text color */
|
196 |
+
border: none; /* Remove border */
|
197 |
+
padding: 10px 20px; /* Add some padding */
|
198 |
+
font-size: 16px; /* Increase font size */
|
199 |
+
cursor: pointer; /* Change cursor to pointer */
|
200 |
+
border-radius: 5px; /* Add rounded corners */
|
201 |
+
transition: background-color 0.3s ease; /* Smooth transition */
|
202 |
+
}
|
203 |
+
|
204 |
+
.run-button:hover {
|
205 |
+
background-color: #e6a600; /* Darker shade on hover */
|
206 |
+
}
|
207 |
"""
|
208 |
|
209 |
with gr.Blocks(css=css) as demo:
|
|
|
232 |
</div>
|
233 |
<div style="margin-bottom:20px; color: black;">
|
234 |
<ol style="list-style:none; padding-left:0;">
|
235 |
+
<li>1. Upload your `.h5ad` file or select one of the default datasets (subset of 10x pbmc data)</li>
|
236 |
<li>2. Select the species</li>
|
237 |
<li>3. Click "Run" to view the UMAP scatter plot</li>
|
238 |
+
<li>4. Download the UCE embeddings and predicted cell-types</li>
|
239 |
</ol>
|
240 |
</div>
|
241 |
<div style="text-align:left; line-height:1.8; color: black;">
|