Spaces:
Build error
Build error
Update static/frontend.js
Browse files- static/frontend.js +1 -1
static/frontend.js
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
// method: 'GET',
|
15 |
// body: JSON.stringify({'user_query': user_query})
|
16 |
//});
|
17 |
-
let final_url = url + '?
|
18 |
console.log(final_url)
|
19 |
let predictions = await fetch(final_url);
|
20 |
console.log(predictions)
|
|
|
14 |
// method: 'GET',
|
15 |
// body: JSON.stringify({'user_query': user_query})
|
16 |
//});
|
17 |
+
let final_url = url + '?user_query=' + user_query
|
18 |
console.log(final_url)
|
19 |
let predictions = await fetch(final_url);
|
20 |
console.log(predictions)
|