Lagt till vidarebefordran av LLM från backen.py till frontend (index.html, client.html, frontend.js

This commit is contained in:
2024-07-29 00:47:42 +02:00
parent 534874e810
commit 941b426574
4 changed files with 20 additions and 18 deletions
+3 -8
View File
@@ -17,16 +17,11 @@
<!-- Get the apiEndpoint -->
<script>
const apiEndpoint = window.apiEndpoint;
// Debugging log messages
// if (apiEndpoint) {
// console.log("client.html - apiEndpoint: ", apiEndpoint);
// }
// else {
// console.log("client.html - cannot find apiEndpoint");
// }
const useModel = window.useModel;
</script>
<!-- Get the javascript handling communication with the backene -->
<!-- Get the javascript handling communication with the backend -->
<script src="/js/frontend.js"></script>
<script>