dangminh214 commited on
Commit
0574f1b
·
1 Parent(s): e6ccabf

revert api in html

Browse files
Files changed (1) hide show
  1. web/index.html +2 -2
web/index.html CHANGED
@@ -54,8 +54,8 @@
54
  // const INFO_URL = "http://127.0.0.1:8000/";
55
 
56
  // Remote Servers
57
- const PREDICT_URL = "/predict/";
58
- const INFO_URL = "/";
59
 
60
  // Handle email form submission
61
  document.getElementById('email-form').addEventListener('submit', async function(event) {
 
54
  // const INFO_URL = "http://127.0.0.1:8000/";
55
 
56
  // Remote Servers
57
+ const PREDICT_URL = "https://dangminh214-spam-email-classifier.hf.space/predict/";
58
+ const INFO_URL = "https://dangminh214-spam-email-classifier.hf.space/";
59
 
60
  // Handle email form submission
61
  document.getElementById('email-form').addEventListener('submit', async function(event) {