mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
feat(web app): join us on Discord
This commit is contained in:
parent
81ae87f0d9
commit
141c89ecbf
@ -39,9 +39,9 @@
|
||||
<div id="version">
|
||||
<small>v</small>
|
||||
</div>
|
||||
<div id="logger">
|
||||
<div id="discord">
|
||||
<small class="italic">
|
||||
<a href="https://docs.getleon.ai/collaborative-logger" target="_blank">Collaborative logger</a>
|
||||
<a href="https://discord.gg/MNQqqKg" target="_blank">Join us on Discord</a>
|
||||
</small>
|
||||
</div>
|
||||
</footer>
|
||||
|
@ -28,17 +28,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const input = document.querySelector('#utterance')
|
||||
const mic = document.querySelector('#mic-button')
|
||||
const v = document.querySelector('#version small')
|
||||
const logger = document.querySelector('#logger small')
|
||||
const client = new Client(config.app, serverUrl, input, res.body)
|
||||
let rec = { }
|
||||
let chunks = []
|
||||
let sLogger = ' enabled, thank you.'
|
||||
|
||||
v.innerHTML += client.info.version
|
||||
if (client.info.logger === false) {
|
||||
sLogger = ' disabled.'
|
||||
}
|
||||
logger.innerHTML += sLogger
|
||||
|
||||
client.init(loader)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "Todo List",
|
||||
"bridge": "python",
|
||||
"version": "1.0.0",
|
||||
"description": "Manage your lists and the items they contain.",
|
||||
"description": "Manage your lists and items they contain.",
|
||||
"author": {
|
||||
"name": "Louis Grenard",
|
||||
"email": "louis.grenard@gmail.com",
|
||||
|
Loading…
Reference in New Issue
Block a user