Skip to content

Commit fb076ee

Browse files
committed
show version
1 parent 7037934 commit fb076ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/chat/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
448448
style="text-decoration: none; color: inherit;">
449449
<span class="badge bg-secondary"><i class="fab fa-github" style="font-size: 12px;"></i>Github</span>
450450
</a>
451-
<span class="badge bg-secondary">bioimageio-chatbot</span>
451+
<span class="badge bg-secondary" id="chatbot-version-badge">bioimageio-chatbot</span>
452452
<br>
453453

454454
<a href="https://badge.fury.io/py/bioimageio-chatbot" target="_blank"><img
@@ -1244,6 +1244,7 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
12441244
})
12451245
const svc = await server.getService(service_id || "public/workspace-manager:bioimageio-chatbot")
12461246
await svc.ping()
1247+
if(svc.version) $('#chatbot-version-badge').text(`bioimageio-chatbot ${svc.version}`);
12471248
const storeSvc = await server.registerService({
12481249
"id": "bioimageio-chatbot-store-" + Math.random().toString(36).substring(7),
12491250
"type": "functions",

0 commit comments

Comments
 (0)