Loren commited on
Commit
205ba6f
·
verified ·
1 Parent(s): 21209f8

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -295,7 +295,7 @@ def submit_query(
295
  """Run the FAQ pipeline and clear the query input after submit."""
296
  updated_history, trace_id, info_candidates = faq_pipeline(query, similarity_threshold, top_k,
297
  cross_encoder_threshold, history)
298
- return updated_history, trace_id, info_candidates
299
 
300
  def list_candidates(candidates: Optional[list]) -> str:
301
  """Format the list of candidates for display in the Gradio interface.
 
295
  """Run the FAQ pipeline and clear the query input after submit."""
296
  updated_history, trace_id, info_candidates = faq_pipeline(query, similarity_threshold, top_k,
297
  cross_encoder_threshold, history)
298
+ return updated_history, trace_id, "", info_candidates
299
 
300
  def list_candidates(candidates: Optional[list]) -> str:
301
  """Format the list of candidates for display in the Gradio interface.