Added firework ai and improved some logo
This commit is contained in:
+15
-2
@@ -23,13 +23,26 @@
|
||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
|
||||
<script>hljs.highlightAll();</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
|
||||
<script src="wasm_exec.js"></script>
|
||||
<script>
|
||||
const go = new Go();
|
||||
WebAssembly.instantiateStreaming(fetch("main-v1.wasm"), go.importObject).then((result) => {
|
||||
go.run(result.instance);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body hx-ext="sse" sse-connect="/sse">
|
||||
<body>
|
||||
|
||||
{{embed}}
|
||||
{{ embed }}
|
||||
|
||||
<script>
|
||||
// run printHello(); every 5 seconds
|
||||
setInterval(function () {
|
||||
printHello();
|
||||
}, 5000);
|
||||
|
||||
function generateMessagePlaceholder(content) {
|
||||
marked.setOptions({
|
||||
highlight: function (code, lang) {
|
||||
|
||||
@@ -69,6 +69,15 @@
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="field has-addons is-hidden" id="fireworks-field">
|
||||
<p class="control has-icons-left is-expanded">
|
||||
<input class="input is-small {% if FireworksExists %}is-success{% endif %}" type="text"
|
||||
placeholder="Fireworks API key" name="fireworks_key" autocomplete="off">
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-lock"></i>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="field has-addons is-hidden" id="goose-field"
|
||||
title="GooseAI chat API will be available soon">
|
||||
<p class="control has-icons-left is-expanded">
|
||||
|
||||
Reference in New Issue
Block a user