singhankur01 commited on
Commit
3c0a8ca
·
verified ·
1 Parent(s): db016ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -232,6 +232,8 @@ async def run_hackrx(req: RunRequest):
232
  lower_url = doc_url.lower()
233
  if "get-secret-token" in lower_url:
234
  store_secret(doc_url)
 
 
235
  else:
236
  start_time = time.time()
237
  # if(doc_url not in vector_cache):
 
232
  lower_url = doc_url.lower()
233
  if "get-secret-token" in lower_url:
234
  store_secret(doc_url)
235
+ answers = []
236
+ return JSONResponse({"answers": answers}, status_code=200)
237
  else:
238
  start_time = time.time()
239
  # if(doc_url not in vector_cache):