Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -21,7 +21,7 @@
|
|
| 21 |
|
| 22 |
try {
|
| 23 |
// Send POST request to the Flask endpoint
|
| 24 |
-
const response =
|
| 25 |
method: 'POST',
|
| 26 |
headers: {
|
| 27 |
'Content-Type': 'application/json'
|
|
|
|
| 21 |
|
| 22 |
try {
|
| 23 |
// Send POST request to the Flask endpoint
|
| 24 |
+
const response =fetch('https://huggingface.co/spaces/Marthee/PDF_to_Text/process', {
|
| 25 |
method: 'POST',
|
| 26 |
headers: {
|
| 27 |
'Content-Type': 'application/json'
|