Spaces:
Runtime error
Runtime error
xyplon
commited on
Commit
•
aa6de51
1
Parent(s):
a0890cb
Update static/models.js
Browse files- static/models.js +1 -1
static/models.js
CHANGED
@@ -127,7 +127,7 @@ btn.onclick = async () => {
|
|
127 |
text.innerText = ''
|
128 |
|
129 |
try {
|
130 |
-
const response = await fetch('
|
131 |
method: 'POST',
|
132 |
headers: {
|
133 |
'Content-Type': 'application/json',
|
|
|
127 |
text.innerText = ''
|
128 |
|
129 |
try {
|
130 |
+
const response = await fetch('/gen', {
|
131 |
method: 'POST',
|
132 |
headers: {
|
133 |
'Content-Type': 'application/json',
|