humza7656 commited on
Commit
48ce3d9
·
verified ·
1 Parent(s): 957076d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -129,8 +129,8 @@
129
  </template>
130
 
131
  <script>
132
- const BASE='';
133
- const ENDPOINT='/api/multimodel';
134
  const MODELS=['Gemini','OpenAi','Meta','Alibaba'];
135
  const LOGOS={
136
  Gemini:'https://cdn.simpleicons.org/google/ffffff',
@@ -244,7 +244,7 @@
244
  setStatus('Cleaning prompt...', 'info');
245
  setBtn?.setAttribute('disabled','true'); setBtn && (setBtn.textContent='Cleaning...');
246
  try{
247
- const url=BASE+'/api/set_prompt?text='+encodeURIComponent(q);
248
  const res=await fetch(url,{method:'GET', headers:{'Accept':'application/json','ngrok-skip-browser-warning':'1'}});
249
  if(!res.ok) throw new Error('HTTP '+res.status);
250
  const ct=res.headers.get('content-type')||'';
 
129
  </template>
130
 
131
  <script>
132
+ const BASE='https://74628346e6fa.ngrok-free.app';
133
+ const ENDPOINT='/MultiModel';
134
  const MODELS=['Gemini','OpenAi','Meta','Alibaba'];
135
  const LOGOS={
136
  Gemini:'https://cdn.simpleicons.org/google/ffffff',
 
244
  setStatus('Cleaning prompt...', 'info');
245
  setBtn?.setAttribute('disabled','true'); setBtn && (setBtn.textContent='Cleaning...');
246
  try{
247
+ const url=BASE+'/set_prompt?text='+encodeURIComponent(q);
248
  const res=await fetch(url,{method:'GET', headers:{'Accept':'application/json','ngrok-skip-browser-warning':'1'}});
249
  if(!res.ok) throw new Error('HTTP '+res.status);
250
  const ct=res.headers.get('content-type')||'';