imamnurby commited on
Commit
8e49510
1 Parent(s): 9656e53

Update static/frontend.js

Browse files
Files changed (1) hide show
  1. 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 + '?input=' + user_query
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)