Spaces:
Sleeping
Sleeping
Remove "XCLIP:" at prediction.
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ def update_selected_image(event: gr.SelectData):
|
|
235 |
|
236 |
xclip_color = "green" if xclip_label.strip() == gt_label.strip() else "red"
|
237 |
xclip_pred_markdown = f"""
|
238 |
-
### <span style='color:{xclip_color}'>
|
239 |
"""
|
240 |
|
241 |
gt_label = f"""
|
|
|
235 |
|
236 |
xclip_color = "green" if xclip_label.strip() == gt_label.strip() else "red"
|
237 |
xclip_pred_markdown = f"""
|
238 |
+
### <span style='color:{xclip_color}'>{xclip_label} {clip_pred_scores:.4f}</span>
|
239 |
"""
|
240 |
|
241 |
gt_label = f"""
|