Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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):
|