Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ example_list_dir = os.path.join(os.getcwd(), "Example images")
|
|
| 103 |
example_list_img_names = os.listdir(example_list_dir)
|
| 104 |
|
| 105 |
example_list = [
|
| 106 |
-
["CLIP-large", os.path.join(example_list_dir, example_img)]
|
| 107 |
for example_img in example_list_img_names
|
| 108 |
if example_img.lower().endswith(".png")]
|
| 109 |
|
|
@@ -118,8 +118,8 @@ gradio_app = gradio.Interface(
|
|
| 118 |
gradio.Label(label="Prediction Probabilities", show_label=False)],
|
| 119 |
|
| 120 |
examples = example_list,
|
| 121 |
-
cache_examples =
|
| 122 |
-
title = "
|
| 123 |
description = "Multi-modal models for zero-shot classification of images of homophones and homographs",
|
| 124 |
article = "Author: C. Foli (02.2026) | Website: coming soon...")
|
| 125 |
|
|
|
|
| 103 |
example_list_img_names = os.listdir(example_list_dir)
|
| 104 |
|
| 105 |
example_list = [
|
| 106 |
+
["CLIP-large", os.path.join(example_list_dir, example_img), 0.4]
|
| 107 |
for example_img in example_list_img_names
|
| 108 |
if example_img.lower().endswith(".png")]
|
| 109 |
|
|
|
|
| 118 |
gradio.Label(label="Prediction Probabilities", show_label=False)],
|
| 119 |
|
| 120 |
examples = example_list,
|
| 121 |
+
cache_examples = False,
|
| 122 |
+
title = "SemanticVision",
|
| 123 |
description = "Multi-modal models for zero-shot classification of images of homophones and homographs",
|
| 124 |
article = "Author: C. Foli (02.2026) | Website: coming soon...")
|
| 125 |
|