Abhinaycodes commited on
Commit
00237cd
·
verified ·
1 Parent(s): 8337448

Update index.html

Browse files
Files changed (1) hide show
  1. 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('http://localhost:8000/api/basic_rag', {
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('http://localhost:8000/api/rag', {
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({