Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Commit
•
71a59eb
1
Parent(s):
f435b5e
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ if 'chain' not in st.session_state:
|
|
53 |
# st.session_state['chain'] = custom_chain_with_history(llm=CustomLLM(repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1", model_type='text-generation', api_token=API_TOKEN, stop=["\n<|","<|"]), memory=st.session_state.memory)
|
54 |
st.session_state['chain'] = get_llm_chain()
|
55 |
# st.session_state['chain'] = custom_chain_with_history(llm=InferenceClient("https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1", headers = {"Authorization": f"Bearer {API_TOKEN}"}, stream=True, max_new_tokens=512, temperature=0.01), memory=st.session_state.memory)
|
56 |
-
st.title("LMD Chatbot V3)
|
57 |
st.subheader("Combination of Ticket Submission and WI/User Guide Knowledge")
|
58 |
|
59 |
# Initialize chat history
|
|
|
53 |
# st.session_state['chain'] = custom_chain_with_history(llm=CustomLLM(repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1", model_type='text-generation', api_token=API_TOKEN, stop=["\n<|","<|"]), memory=st.session_state.memory)
|
54 |
st.session_state['chain'] = get_llm_chain()
|
55 |
# st.session_state['chain'] = custom_chain_with_history(llm=InferenceClient("https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1", headers = {"Authorization": f"Bearer {API_TOKEN}"}, stream=True, max_new_tokens=512, temperature=0.01), memory=st.session_state.memory)
|
56 |
+
st.title("LMD Chatbot V3")
|
57 |
st.subheader("Combination of Ticket Submission and WI/User Guide Knowledge")
|
58 |
|
59 |
# Initialize chat history
|