Skip to content

Commit

Permalink
fix argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-sol committed Jul 16, 2024
1 parent 8d71d41 commit 74dcf79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/gradio-ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,13 @@ def add_sources(answer_str, completion):
def generate_completion(
query,
history,
model,
sources,
model,
):

print(f"query: {query}")
print(model)
print(sources)
nodes = retriever.retrieve(query)

# Filter out nodes with the same ref_doc_id
Expand Down

0 comments on commit 74dcf79

Please sign in to comment.