Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,6 @@ async def web_search_and_extract(
|
|
190 |
return JSONResponse(content=jsonable_encoder({extracted_results}))
|
191 |
else:
|
192 |
return JSONResponse(content=jsonable_encoder({"search_results": search_results, "extracted_results": extracted_results}))
|
193 |
-
return
|
194 |
except Exception as e:
|
195 |
raise HTTPException(status_code=500, detail=f"Error during search and extraction: {e}")
|
196 |
|
|
|
190 |
return JSONResponse(content=jsonable_encoder({extracted_results}))
|
191 |
else:
|
192 |
return JSONResponse(content=jsonable_encoder({"search_results": search_results, "extracted_results": extracted_results}))
|
|
|
193 |
except Exception as e:
|
194 |
raise HTTPException(status_code=500, detail=f"Error during search and extraction: {e}")
|
195 |
|