Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -291,8 +291,6 @@ example_list = [
|
|
| 291 |
for example_img in example_list_img_names
|
| 292 |
if example_img.lower().endswith(".png")]
|
| 293 |
|
| 294 |
-
# example_list = [['/content/new_labels.csv',"ResNet50"]]
|
| 295 |
-
|
| 296 |
gradio_app = gradio.Interface(
|
| 297 |
fn = partial(run_diagnosis, preprocess_fn = preprocess_fxn, Idx2labels = labels_dict),
|
| 298 |
|
|
@@ -304,7 +302,7 @@ gradio_app = gradio.Interface(
|
|
| 304 |
gradio.Label(label="Predicted Probabilities", show_label=False)],
|
| 305 |
|
| 306 |
examples = example_list,
|
| 307 |
-
cache_examples =
|
| 308 |
title = "ChestVision-PRO",
|
| 309 |
description = "Vision-Transformer solutions for assistive medical diagnosis with Vision-Language-based prediction justification",
|
| 310 |
article = "Author: C. Foli (02.2026) | Website: coming soon...")
|
|
|
|
| 291 |
for example_img in example_list_img_names
|
| 292 |
if example_img.lower().endswith(".png")]
|
| 293 |
|
|
|
|
|
|
|
| 294 |
gradio_app = gradio.Interface(
|
| 295 |
fn = partial(run_diagnosis, preprocess_fn = preprocess_fxn, Idx2labels = labels_dict),
|
| 296 |
|
|
|
|
| 302 |
gradio.Label(label="Predicted Probabilities", show_label=False)],
|
| 303 |
|
| 304 |
examples = example_list,
|
| 305 |
+
cache_examples = False,
|
| 306 |
title = "ChestVision-PRO",
|
| 307 |
description = "Vision-Transformer solutions for assistive medical diagnosis with Vision-Language-based prediction justification",
|
| 308 |
article = "Author: C. Foli (02.2026) | Website: coming soon...")
|