Port the standalone lab dashboard (lab.lthn.io) into the core CLI as pkg/lab/ with collectors, handlers, and HTML templates. The dashboard monitors machines, Docker containers, Forgejo, HuggingFace models, training runs, and InfluxDB metrics with SSE live updates. New command: core lab serve --bind :8080 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
807 B
HTML
29 lines
807 B
HTML
{{template "head" "Models"}}
|
|
{{template "nav" "models"}}
|
|
|
|
<h2 class="section-title">LEK Models on HuggingFace</h2>
|
|
|
|
{{if .Models}}
|
|
<div class="card">
|
|
<table>
|
|
<thead><tr><th>Model</th><th>Downloads</th><th>Likes</th><th>Pipeline</th><th>Updated</th></tr></thead>
|
|
<tbody>
|
|
{{range .Models}}
|
|
<tr>
|
|
<td><a href="https://huggingface.co/{{.ModelID}}" target="_blank">{{.ModelID}}</a></td>
|
|
<td>{{.Downloads}}</td>
|
|
<td>{{.Likes}}</td>
|
|
<td>{{if .PipelineTag}}<span class="badge badge-info">{{.PipelineTag}}</span>{{else}}-{{end}}</td>
|
|
<td>{{timeAgo .LastModified}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{else}}
|
|
<div class="card empty">
|
|
<p>No models loaded yet. HuggingFace data refreshes every 5 minutes.</p>
|
|
</div>
|
|
{{end}}
|
|
|
|
{{template "footer"}}
|