xyplon
commited on
Update static/models.js
Browse files- static/models.js +1 -1
static/models.js
CHANGED
@@ -138,7 +138,7 @@ btn.onclick = async () => {
|
|
138 |
text.innerText = ''
|
139 |
|
140 |
try {
|
141 |
-
const response = await fetch('
|
142 |
method: 'POST',
|
143 |
headers: {
|
144 |
'Content-Type': 'application/json',
|
|
|
138 |
text.innerText = ''
|
139 |
|
140 |
try {
|
141 |
+
const response = await fetch('/gen', {
|
142 |
method: 'POST',
|
143 |
headers: {
|
144 |
'Content-Type': 'application/json',
|