Spaces:
Sleeping
Sleeping
- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
stopButton.disabled = false;
|
60 |
|
61 |
try {
|
62 |
-
const response = await fetch('https://huggingface.co/spaces/kowalsky/fake-detection
|
63 |
method: 'POST',
|
64 |
});
|
65 |
|
@@ -94,7 +94,7 @@
|
|
94 |
stopButton.disabled = true;
|
95 |
|
96 |
try {
|
97 |
-
const response = await fetch('https://huggingface.co/spaces/kowalsky/fake-detection
|
98 |
method: 'POST',
|
99 |
});
|
100 |
|
|
|
59 |
stopButton.disabled = false;
|
60 |
|
61 |
try {
|
62 |
+
const response = await fetch('https://huggingface.co/spaces/kowalsky/fake-detection/start_detection', {
|
63 |
method: 'POST',
|
64 |
});
|
65 |
|
|
|
94 |
stopButton.disabled = true;
|
95 |
|
96 |
try {
|
97 |
+
const response = await fetch('https://huggingface.co/spaces/kowalsky/fake-detection/stop_detection', {
|
98 |
method: 'POST',
|
99 |
});
|
100 |
|