Spaces:
Runtime error
Runtime error
numanai commited on
Commit ·
60479f4
1
Parent(s): 92afe3c
Added more examples
Browse files
app.py
CHANGED
|
@@ -134,7 +134,16 @@ with gr.Blocks(title="FetalCLIP: Fetal View Classification") as demo:
|
|
| 134 |
gr.Examples(
|
| 135 |
examples=[
|
| 136 |
[os.path.join(EXAMPLES_DIR, "Fetal_abdomen_1.png"), "ViT-B", 5],
|
|
|
|
| 137 |
[os.path.join(EXAMPLES_DIR, "Fetal_brain_1.png"), "ViT-B", 5],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
# ... you'll add more examples
|
| 139 |
],
|
| 140 |
inputs=[image_input, model_type, top_k],
|
|
|
|
| 134 |
gr.Examples(
|
| 135 |
examples=[
|
| 136 |
[os.path.join(EXAMPLES_DIR, "Fetal_abdomen_1.png"), "ViT-B", 5],
|
| 137 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_abdomen_2.png"), "ViT-B", 5],
|
| 138 |
[os.path.join(EXAMPLES_DIR, "Fetal_brain_1.png"), "ViT-B", 5],
|
| 139 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_brain_2.png"), "ViT-B", 5],
|
| 140 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_femur_1.png"), "ViT-B", 5],
|
| 141 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_femur_2.png"), "ViT-B", 5],
|
| 142 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_orbit_1.png"), "ViT-B", 5],
|
| 143 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_orbit_2.png"), "ViT-B", 5],
|
| 144 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_profile_2.png"), "ViT-B", 5],
|
| 145 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_thorax_1.png"), "ViT-B", 5],
|
| 146 |
+
[os.path.join(EXAMPLES_DIR, "Fetal_thorax_2.png"), "ViT-B", 5],
|
| 147 |
# ... you'll add more examples
|
| 148 |
],
|
| 149 |
inputs=[image_input, model_type, top_k],
|