Spaces:
Sleeping
Sleeping
Commit ·
6347f31
1
Parent(s): 7fa7112
Initial commit
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ def predict(img):
|
|
| 13 |
|
| 14 |
#predict('test.jpg') # test
|
| 15 |
|
| 16 |
-
title = "<p style='text-align: center; font-size: 25px; font-weight: bold'>
|
| 17 |
-
description = "<p style='text-align: center; font-size: 20px'>Upload an ultrasound image to determine
|
| 18 |
article="<p style='text-align: center'>App & MLM created by Lea R. Medeiros</p><p style='text-align: center'><a href='https://critfc.org/fish-and-watersheds/columbia-river-fish-species/lamprey/pacific-lamprey-restoration/' target='_blank'>Pacific Lamprey Restoration Efforts at CRITFC</a></p><p style='text-align: center'><a href='https://www.pacificlamprey.org' target='_blank'>Pacific Lamprey Conservation Initiative</a></p>"
|
| 19 |
|
| 20 |
#SexID = gr.Interface(fn=predict, inputs=gr.Image(height=512, width=512), outputs=gr.Label(num_top_classes=2), title=title, description=description, examples=examples, article=article)
|
|
|
|
| 13 |
|
| 14 |
#predict('test.jpg') # test
|
| 15 |
|
| 16 |
+
title = "<p style='text-align: center; font-size: 25px; font-weight: bold'>Maturation Status App for Pacific lamprey</p>"
|
| 17 |
+
description = "<p style='text-align: center; font-size: 20px'>Upload an ultrasound image to determine the maturation status of a Pacific lamprey</p>"
|
| 18 |
article="<p style='text-align: center'>App & MLM created by Lea R. Medeiros</p><p style='text-align: center'><a href='https://critfc.org/fish-and-watersheds/columbia-river-fish-species/lamprey/pacific-lamprey-restoration/' target='_blank'>Pacific Lamprey Restoration Efforts at CRITFC</a></p><p style='text-align: center'><a href='https://www.pacificlamprey.org' target='_blank'>Pacific Lamprey Conservation Initiative</a></p>"
|
| 19 |
|
| 20 |
#SexID = gr.Interface(fn=predict, inputs=gr.Image(height=512, width=512), outputs=gr.Label(num_top_classes=2), title=title, description=description, examples=examples, article=article)
|