From 001d219753fcb730360c8adeece90af67820af95 Mon Sep 17 00:00:00 2001 From: Thomas Hjelde Thoresen Date: Tue, 22 Oct 2024 11:23:00 +0200 Subject: [PATCH] Update visual-retrieval-colpali/main.py remove unused function --- visual-retrieval-colpali/main.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/visual-retrieval-colpali/main.py b/visual-retrieval-colpali/main.py index f166a6528..44db311d2 100644 --- a/visual-retrieval-colpali/main.py +++ b/visual-retrieval-colpali/main.py @@ -289,15 +289,6 @@ async def get_message(query_id: str, query: str): ) -@app.post("/gemini-inference") -async def gemini_inference(query_id: str): - result = result_cache.get(query_id) - if result is None: - return {"error": "Results not ready"} - search_results = get_results_children(result) - return search_results - - @rt("/app") def get(): return Layout(Main(Div(P(f"Connected to Vespa at {vespa_app.url}"), cls="p-4")))