Update app.py
Browse files
app.py
CHANGED
|
@@ -268,7 +268,10 @@ with gr.Blocks(title = "Hello",
|
|
| 268 |
#filepath = ""
|
| 269 |
with gr.Row():
|
| 270 |
with gr.Column(scale=2):
|
| 271 |
-
gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:20pt; font-weight:bold; text-align:center; color:white;">Cellpose-SAM for cellular
|
|
|
|
|
|
|
|
|
|
| 272 |
gr.HTML("""<h4 style="color:white;">You may need to login/refresh for 5 minutes of free GPU compute per day (enough to process hundreds of images). </h4>""")
|
| 273 |
|
| 274 |
input_image = gr.Image(label = "Input", type = "filepath")
|
|
@@ -294,8 +297,8 @@ with gr.Blocks(title = "Hello",
|
|
| 294 |
flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
|
| 295 |
|
| 296 |
with gr.Row():
|
| 297 |
-
gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">
|
| 298 |
-
gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">
|
| 299 |
gr.HTML("""<h4 style="color:white;">Install Cellpose-SAM locally for full functionality. </h4>""")
|
| 300 |
|
| 301 |
|
|
|
|
| 268 |
#filepath = ""
|
| 269 |
with gr.Row():
|
| 270 |
with gr.Column(scale=2):
|
| 271 |
+
gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:20pt; font-weight:bold; text-align:center; color:white;">Cellpose-SAM for cellular
|
| 272 |
+
segmentation <a style="color:#cfe7fe; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[paper]</a>
|
| 273 |
+
<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[github]</a>
|
| 274 |
+
</div>""")
|
| 275 |
gr.HTML("""<h4 style="color:white;">You may need to login/refresh for 5 minutes of free GPU compute per day (enough to process hundreds of images). </h4>""")
|
| 276 |
|
| 277 |
input_image = gr.Image(label = "Input", type = "filepath")
|
|
|
|
| 297 |
flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
|
| 298 |
|
| 299 |
with gr.Row():
|
| 300 |
+
gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[github]</a>""")
|
| 301 |
+
gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[paper]</a>""")
|
| 302 |
gr.HTML("""<h4 style="color:white;">Install Cellpose-SAM locally for full functionality. </h4>""")
|
| 303 |
|
| 304 |
|