jonathanjordan21 commited on
Commit
37cbc0e
1 Parent(s): 64900b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,7 +26,8 @@ POSTGRE_URL = os.environ['POSTGRE_URL']
26
  @st.cache_resource
27
  def get_llm_chain():
28
  return custom_chain_with_history(
29
- llm=CustomLLM(repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1", model_type='text-generation', api_token=API_TOKEN, stop=["\n<|","<|"], temperature=0.001),
 
30
  # memory=st.session_state.memory.chat_memory,
31
  memory=st.session_state.memory
32
  )
 
26
  @st.cache_resource
27
  def get_llm_chain():
28
  return custom_chain_with_history(
29
+ # llm=CustomLLM(repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1", model_type='text-generation', api_token=API_TOKEN, stop=["\n<|","<|"], temperature=0.001),
30
+ llm=CustomLLM(repo_id="stabilityai/stablelm-2-zephyr-1_6b", model_type='text-generation', api_token=API_TOKEN, stop=["\n<|","<|"], temperature=0.001),
31
  # memory=st.session_state.memory.chat_memory,
32
  memory=st.session_state.memory
33
  )