$P@D$3RV£R commited on
Commit
ae4b93d
·
1 Parent(s): 6b151fa

Fix template conditional for hf_all_time_visits

Browse files
Files changed (1) hide show
  1. templates/tagger.html +1 -1
templates/tagger.html CHANGED
@@ -859,7 +859,7 @@ function setupCanvas(imageSrc, canvasId, imageName, labels) {
859
  <div style="font-size: 12px; color: #666;">Countries</div>
860
  </div>
861
  <div style="text-align: center;">
862
- <div style="font-size: 24px; font-weight: bold; color: #6c757d;">{% if hf_all_time_visits is not none %}{{ hf_all_time_visits }}{% else %}-{% endif %}</div>
863
  <div style="font-size: 12px; color: #666;">All time visits</div>
864
  </div>
865
  </div>
 
859
  <div style="font-size: 12px; color: #666;">Countries</div>
860
  </div>
861
  <div style="text-align: center;">
862
+ <div style="font-size: 24px; font-weight: bold; color: #6c757d;">{% if hf_all_time_visits is not none and hf_all_time_visits %}{{ hf_all_time_visits }}{% else %}-{% endif %}</div>
863
  <div style="font-size: 12px; color: #666;">All time visits</div>
864
  </div>
865
  </div>