mingbaer commited on
Commit
bf7dbe5
·
verified ·
1 Parent(s): a03bcc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ client = InferenceClient("microsoft/phi-4")
54
 
55
  def respond(message, history):
56
 
57
- info = get_top_chunks(message, chunk_embeddings, text_chunks)
58
  messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]
59
 
60
  if history:
 
54
 
55
  def respond(message, history):
56
 
57
+ info = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
58
  messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]
59
 
60
  if history: