datien228 commited on
Commit
1440904
1 Parent(s): e2c14a4
Files changed (1) hide show
  1. templates/index.html +2 -3
templates/index.html CHANGED
@@ -194,9 +194,8 @@
194
  type: 'POST',
195
  url: '/summarize',
196
  data: JSON.stringify(data),
197
- headers: {'Access-Control-Allow-Origin': 'http://0.0.0.0:7860'},
198
- contentType: "application/json",
199
- dataType: 'json',
200
  xhrFields: {
201
  withCredentials: true
202
  },
 
194
  type: 'POST',
195
  url: '/summarize',
196
  data: JSON.stringify(data),
197
+ // contentType: "jsonp",
198
+ dataType: 'jsonp',
 
199
  xhrFields: {
200
  withCredentials: true
201
  },