Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nehaabc authored Jan 23, 2024
1 parent d3faff4 commit cba789f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ <h5 style="margin-bottom: 35px;">Intelligent text extraction and summarisation..
formData.append('summaryResultimg', summaryResultimg);
formData.append('fileInput', file);

fetch('http://localhost:3000/summarizeImage', {
fetch('/summarizeImage', {
method: 'POST',
body: formData,
})
Expand All @@ -317,7 +317,7 @@ <h5 style="margin-bottom: 35px;">Intelligent text extraction and summarisation..
formData.append('text', text);
formData.append('summaryResult', summaryResult);

fetch('http://localhost:3000/summarizePdf', {
fetch('/summarizePdf', {
method: 'POST',
body: formData,
})
Expand All @@ -341,7 +341,7 @@ <h5 style="margin-bottom: 35px;">Intelligent text extraction and summarisation..
function summarizeText() {
const text = document.getElementById('text').value;

fetch('http://localhost:3000/summarize', {
fetch('/summarize', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand All @@ -366,7 +366,7 @@ <h5 style="margin-bottom: 35px;">Intelligent text extraction and summarisation..
function summarizeTextImg() {
const text = document.getElementById('textimg').value;

fetch('http://localhost:3000/summarize', {
fetch('/summarize', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit cba789f

Please sign in to comment.