broadfield-dev commited on
Commit
d912461
·
verified ·
1 Parent(s): 2cd2e26

Update templates/inference.html

Browse files
Files changed (1) hide show
  1. templates/inference.html +1 -1
templates/inference.html CHANGED
@@ -102,7 +102,7 @@
102
  document.getElementById('submitBtn').disabled = true;
103
 
104
  try {
105
- const response = await fetch('/api/summarize', {
106
  method: 'POST',
107
  headers: { 'Content-Type': 'application/json' },
108
  body: JSON.stringify({ text: text, model_name: model, hf_token: hfToken })
 
102
  document.getElementById('submitBtn').disabled = true;
103
 
104
  try {
105
+ const response = await fetch('/summarize/api/summarize', {
106
  method: 'POST',
107
  headers: { 'Content-Type': 'application/json' },
108
  body: JSON.stringify({ text: text, model_name: model, hf_token: hfToken })