chanfee commited on
Commit
7aa0950
1 Parent(s): c8636e8

Remove "XCLIP:" at prediction.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}'>XCLIP: {xclip_label} &nbsp;&nbsp;&nbsp; {clip_pred_scores:.4f}</span>
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} &nbsp;&nbsp;&nbsp; {clip_pred_scores:.4f}</span>
239
  """
240
 
241
  gt_label = f"""