pragyarama commited on
Commit
6b2d44b
·
verified ·
1 Parent(s): a111e40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ print(top_results)
74
  client = InferenceClient("Qwen/Qwen2.5-72B-instruct")
75
 
76
  def respond(message, history, name, country): # Generate a response using the most relevant travel info chunks
77
- top_chunks = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
 
78
  str_top_chunks = "\n".join(top_chunks)
79
 
80
  messages = [
 
74
  client = InferenceClient("Qwen/Qwen2.5-72B-instruct")
75
 
76
  def respond(message, history, name, country): # Generate a response using the most relevant travel info chunks
77
+ new_message = message + " " + country
78
+ top_chunks = get_top_chunks(new_message, chunk_embeddings, cleaned_chunks)
79
  str_top_chunks = "\n".join(top_chunks)
80
 
81
  messages = [