tanyadhast commited on
Commit
a9f090a
·
verified ·
1 Parent(s): 18d210e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
109
  # Return the list of most relevant chunks
110
  return top_chunks
111
 
112
- client = InferenceClient('HuggingFaceH4/zephyr-7b-beta')
113
  def respond(message, history):
114
  info = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
115
  messages = [{'role': 'system', 'content': f'You are a friendly chatbot using {info} to answer questions. You love creating playlists and will give at least 5 songs as a response. You will also capitalize the first letters of the first and last names of every artist you name.'}]
 
109
  # Return the list of most relevant chunks
110
  return top_chunks
111
 
112
+ client = InferenceClient('Qwen/Qwen2.5-72B-Instruct')
113
  def respond(message, history):
114
  info = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
115
  messages = [{'role': 'system', 'content': f'You are a friendly chatbot using {info} to answer questions. You love creating playlists and will give at least 5 songs as a response. You will also capitalize the first letters of the first and last names of every artist you name.'}]