mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-26 02:04:08 +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">
|
<div id="version">
|
||||||
<small>v</small>
|
<small>v</small>
|
||||||
</div>
|
</div>
|
||||||
<div id="logger">
|
<div id="discord">
|
||||||
<small class="italic">
|
<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>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -28,17 +28,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
const input = document.querySelector('#utterance')
|
const input = document.querySelector('#utterance')
|
||||||
const mic = document.querySelector('#mic-button')
|
const mic = document.querySelector('#mic-button')
|
||||||
const v = document.querySelector('#version small')
|
const v = document.querySelector('#version small')
|
||||||
const logger = document.querySelector('#logger small')
|
|
||||||
const client = new Client(config.app, serverUrl, input, res.body)
|
const client = new Client(config.app, serverUrl, input, res.body)
|
||||||
let rec = { }
|
let rec = { }
|
||||||
let chunks = []
|
let chunks = []
|
||||||
let sLogger = ' enabled, thank you.'
|
|
||||||
|
|
||||||
v.innerHTML += client.info.version
|
v.innerHTML += client.info.version
|
||||||
if (client.info.logger === false) {
|
|
||||||
sLogger = ' disabled.'
|
|
||||||
}
|
|
||||||
logger.innerHTML += sLogger
|
|
||||||
|
|
||||||
client.init(loader)
|
client.init(loader)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "Todo List",
|
"name": "Todo List",
|
||||||
"bridge": "python",
|
"bridge": "python",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Manage your lists and the items they contain.",
|
"description": "Manage your lists and items they contain.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Louis Grenard",
|
"name": "Louis Grenard",
|
||||||
"email": "louis.grenard@gmail.com",
|
"email": "louis.grenard@gmail.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user