Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -914,7 +914,7 @@ async function runAll() {
|
|
| 914 |
log('P2 → Calling local Python Backend (/api/basic_rag) for Vector Retrieval', '');
|
| 915 |
const t0 = Date.now();
|
| 916 |
|
| 917 |
-
const res = await fetch('
|
| 918 |
method: 'POST',
|
| 919 |
headers: { 'Content-Type': 'application/json' },
|
| 920 |
body: JSON.stringify({ query: query, gemini_api_key: apiKey })
|
|
@@ -954,7 +954,7 @@ async function runAll() {
|
|
| 954 |
const t0 = Date.now();
|
| 955 |
|
| 956 |
// REPLACE 'https://YOUR-BACKEND.onrender.com' with your actual Render URL later!
|
| 957 |
-
const res = await fetch('
|
| 958 |
method: 'POST',
|
| 959 |
headers: { 'Content-Type': 'application/json' },
|
| 960 |
body: JSON.stringify({
|
|
|
|
| 914 |
log('P2 → Calling local Python Backend (/api/basic_rag) for Vector Retrieval', '');
|
| 915 |
const t0 = Date.now();
|
| 916 |
|
| 917 |
+
const res = await fetch('/api/basic_rag', {
|
| 918 |
method: 'POST',
|
| 919 |
headers: { 'Content-Type': 'application/json' },
|
| 920 |
body: JSON.stringify({ query: query, gemini_api_key: apiKey })
|
|
|
|
| 954 |
const t0 = Date.now();
|
| 955 |
|
| 956 |
// REPLACE 'https://YOUR-BACKEND.onrender.com' with your actual Render URL later!
|
| 957 |
+
const res = await fetch('/api/rag', {
|
| 958 |
method: 'POST',
|
| 959 |
headers: { 'Content-Type': 'application/json' },
|
| 960 |
body: JSON.stringify({
|