Spaces:
Runtime error
Runtime error
Update app.py
Browse filesUpdate LLM Mistral-7B-Instruct-v0.3
app.py
CHANGED
@@ -53,7 +53,7 @@ if 'vectorstore' not in st.session_state:
|
|
53 |
|
54 |
if 'llm' not in st.session_state:
|
55 |
#st.session_state.llm = Ollama(base_url="http://localhost:11434",model="mistral",verbose=True,callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),)
|
56 |
-
st.session_state.llm = HuggingFaceEndpoint(repo_id="mistralai/Mistral-
|
57 |
|
58 |
# Initialize session state
|
59 |
if 'chat_history' not in st.session_state:
|
|
|
53 |
|
54 |
if 'llm' not in st.session_state:
|
55 |
#st.session_state.llm = Ollama(base_url="http://localhost:11434",model="mistral",verbose=True,callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),)
|
56 |
+
st.session_state.llm = HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.3", Temperature=0.2)
|
57 |
|
58 |
# Initialize session state
|
59 |
if 'chat_history' not in st.session_state:
|