Skip to content

Commit

Permalink
Update visual-retrieval-colpali/main.py
Browse files Browse the repository at this point in the history
remove unused function
thomasht86 authored Oct 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 076e92c commit 001d219
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions visual-retrieval-colpali/main.py
Original file line number Diff line number Diff line change
@@ -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")))

0 comments on commit 001d219

Please sign in to comment.